After getting a input from the first page, I passed it in to the url using get method. In the next page I want to process it using jsp, but how do I get that parameter.
+2
A:
You can get it off of the request object.
request.getParameter("<param name>");
timdisney
2009-02-20 04:59:36
A:
I just tried with a simp[le program but this is the output,
An error occurred at line: 5 in the jsp file: /jsp/emp/empdeletemodify.jsp Duplicate local variable request 4: <% 5: HttpServletRequest request; 6: request.getParameter("empid"); 7: %>
The request object already exist on every jsp page so you don't have to declare it. Just use it.
timdisney
2009-02-20 05:11:18
Thanks buddy, it's working.
2009-02-20 05:29:44