Guys,
In glassfish V2, i have this code to get path info & query string in my servlet-
String querystring =request.getQueryString();
String pathinfo =request.getPathInfo();
request is the HttpServletRequest.
If there is NO pathinfo & querystring in my request to this servlet, i get
[1] null for querystring as explained in the javadoc.
but,
[2]I get "/" for pathinfo.
Here also javadoc says that null but glassfish returns this "/" character.
Can someone shed some light here?
Thanks,
-Uday.
[Message sent by forum member 'udaysubbarayan' (udaysubbarayan)]
http://forums.java.net/jive/thread.jspa?messageID=279284