Possible Duplicate:
How to get parameters from the URL with JSP
Help please!
I want to extract sessid from "http://111.0000.0000.0000/2-abc-xyz?sessid=32323232-232322323
" using JSP .
Possible Duplicate:
How to get parameters from the URL with JSP
Help please!
I want to extract sessid from "http://111.0000.0000.0000/2-abc-xyz?sessid=32323232-232322323
" using JSP .
Try
EL expression
${param.sessid}
Or Java code.
String value=request.getParameter("sessid");
Or
Use java.net.URI,
URI uri=new URI("http://111.0000.0000.0000/2-abc-xyz?sessid=32323232-232322323");
System.out.println(uri.getQuery());