Sargunan Rswamy

Greenhorn
+ Follow
since Jun 24, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Sargunan Rswamy

Originally posted by Surajsingh Thakur:
Well i dont think it will have parameters...
Path Info remains d same...



http://www.helloworld.com/APP/resourses/hi.jsp?par1=name&par2=job

Request_URI = Context_Path+Servlet_Path+Path_Info+Query_String

Context Path : APP -->HttpServletRequest.getContextPath()
Servlet Path : resources -->HttpServletRequest.getServletPath()
path info : hi.jsp -->HttpServletRequest.getPathInfo()
Query String : par1=name&par2=job-->HttpServletRequest.getQueryString()





Sargunan
Try This





import java.util.regex.*;


[ July 14, 2008: Message edited by: sargunan Rswamy ]

[ July 14, 2008: Message edited by: sargunan Rswamy ]