java - Spring RequestMapping to read encoded &amp -


i'm trying requestmapping pick following url pathname.

action?param1=6&param2=b&param3=true&param4=50652&param5=2 

i'm able path below work. when converting & '& amp;' unable read parameters.

action?param1=6&param2=b&param3=true&param4=50652&param5=2 

method action

@requestmapping(value = "/action", method = requestmethod.get) public modelandview doaction(httpservletrequest httprequest, httpservletresponse httpresponse)         throws exception { log.info(httprequest.getparameter("param1")); } 

fyi want steer clear of string manipulations


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -