Web tier: servlets, JSP, Web frameworks: how to get and use querystring parameters in jsp
- Posted by: Ade Ayonrinde
- Posted on: January 18 2001 13:31 EST
I am new to jsp from an asp background. I need information on how to access querystring parameters in jsp. in Asp it would be something like this:
someName = request.querystring("name")
In JSP it will be,
String someName = request.getParameter("name") ;
String sex = request.getParameter("sex") ;
hope that helps..
I tried it and it works:0).....slowly getting my head away from asp into jsp.
Ade don't get bogged down by the big words Sun uses. In the end u will realise they just copy and package. Coming from a MS background you are way ahead already.