I have a question concerning the req.getPathInfo() functionality.

I have a servlet that I wish to call passing in a 'path' as an 
argument which I will later use as an argument. See below (where 
LogonServlet is the Servlet and VLM is the argument)

www.vlm.com/servlets/VS/servlet/LogonServlet/VLM

This is much cleaner than:

www.vlm.com/servlets/VS/servlet/LogonServlet?CID=VLM

BUT the first URL does not work unless arguments are specified at the 
end of the URL, for example:

www.vlm.com/servlets/VS/servlet/LogonServlet/VLM?A=B

Without '?A=B' No call seems to be made to LogonServlet! Is there 
anyway that I configure the system to accept the first URL, passing 
in the 'VLM' as the path?

If this is possible I have a follow-on question. I would also like to 
create an alias to reduce the length of the URL. How would one go 
about reducing:

www.vlm.com/servlets/VS/servlet/LogonServlet/VLM

To say:

www.vlm.com/LogonServlet/VLM

Thank you for your time.

I v a n ...



-- 
Ivan Markovic
SculptLight
http://www.sculptlight.com
(+353) 87 2939256
(+353) 1 2982205

114 Lower Churchtown Rd,
Dublin 14,
Ireland.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to