This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Check in the form class whether you have a getter/setter method for the variable.Try putting a request.getParameter inside the action class.If you are getting the value in request.getParameter and not otherwise.then getter/setter is the problem.Please check the same and revert
Joined: Apr 20, 2007
yes I already used
String sAction = (String) request.getParameter("actionType"); in my action class to get the value but still getting null.
I can only avoid the problem if I put alert or window.alert(" .. ") message between form submit and window.close().