I would like to know what is a url path info?
For example in
Is it the whole path including server name:
or is it just
/servletname/handlermethod
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
getPathInfo()according to the doc:so in your example it will return
/handlermethodIf you want to have
/servletname/handlermethodyou should usegetRequestURI().getRequestURL()will return the full URL made by the client (except string parameters).