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().