Reading URL Query Parameters
Use the @QueryParameter annotation. For example:
@MappingTo("/helloAction.do")
public class HelloAction {
@Any
public void execute(@QueryParameter("value") boolean ajaxTo) {
...
}
}
Request URL: http://localhost:8080/helloAction.do?value=true