This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
The reason I'd like to do this is that users will be able to remember the url to their personalized page easier without the ? and & .
Juanjo Bazan
Ranch Hand
Joined: Feb 04, 2002
Posts: 231
posted
0
You can set different alias for your servlets in the web.xml configuration file( in the WEB-INF directory of your app). HTH Juanjo
Maulin Vasavada
Ranch Hand
Joined: Nov 04, 2001
Posts: 1865
posted
0
hi, use getPathInfo() and getQueryString() both methods to get what u want. e.g. if u have, http://myserver.com/servlet/myservlet/myname?view=1&choice=2 then u can do, request.getPathInfo that returns "/myname" and request.getQueryString returns view=1&choice=2 read Servlet API for more info about these methods... or u can use request.getParameter as well to get view or choice parameters directly... hth maulin