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