java - submitting form in ftl to spring MVC controller -


i have simple form want submit spring mvc controller. form goes this:

<form id="assaydetailsform" method="get" action="[@spring.url '/reports/assay/runassaydetailsreport.htm'/]">  

below spring controller java code:

@requestmapping(value="/assay/runassaydetailsreport", method = requestmethod.get)     public modelandview runassaydetailsreport(@requestparam("magentaassayids")string magentaassayids,                                               @requestparam("reportformat")string reportformat){ 

the problem request never reaches desired method i.e. "runassaydetailsreport" , runtime exception thrown.

i tried submitting above form using ajax call 404 status code returned.

appreciate help.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -