I have a form with couple of fields. If I submit the form to a servlet ( action="aaaservlet"), then I can access the value of the form fields by request.getParameter ("something"). But if I submit the form to a JSP page I am not able to access the form values by request.getParameter function. Am I missing something ? Thanks for any clarifications. :roll:
Originally posted by shaju joseph: But if I submit the form to a JSP page I am not able to access the form values by request.getParameter function. Am I missing something ?
You should be able to access the Parameters using the same function -- can you post a simplified version of your code that DOES work with a servlet, and the code that DOES NOT work with a JSP?
posted 16 years ago
Thanks for the reply. Here is what I am trying to do. I am running this on Jrun. test.jsp -------- <html> <body> <form action="/test/jsp/testresult.jsp" method="POST"> <table> <tr> <td> <input type=text name="SomeThing" > </table> <input type=submit> </form>