This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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().