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.
Bear Bibeault wrote:A forward simply forwards the existing request to another resource. It does not create a new request, so you can't add params to it.
If you have data you need to pass along, simply put that data in request scope.
Hello Bear Bibeault,
i tested the jsp Code from Veeresh Hubballi with NetBeans in the index.jsp and created a TestServlet
in which i read the Parameter: String myAction = request.getParameter("action");
and output it.
It outputs the Parameter Value normally.