My html is built without using taglib spring, and now I want to bind the form parameters to an object in my controller.
Currently my form looks like
<form> <input type="text" name="frAccUserMgmt.userName"/> <input type="password" name="frAccUserMgmt.userPwd"/> </form>
The corresponding part of my object
Class FrAccUserMgmt { private String userName; private Strint userPwd;
My controller
@RequestMapping("login") Public ModelAndView doLogin(FrAccUserMgmt frAccUserMgmt) {
How do I snap it. No bindings are currently in progress. I just get empty code in my code.
source share