I have set userId in my form bean and have set the form bean in the request attribute and have forwarded the action to a
JSP page from my action class.
In the JSP i have a hidden attribute
<html:form styleId="myForm" action="/edit.do" >
..
....
<html:hidden name='myForm' property='userId' />
...
</html:form>
A button in this form takes to the action class. When I try to get the userId set in the form through
String userId = request.getParameter("userId");
I get null.
Guess the userId is not getting although it shoud be a part of the request..
Where am I going wrong..?