Sargunan Rswamy

Greenhorn
+ Follow
since Jun 24, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

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 ]