web.xml:
   <servlet-mapping url-pattern='/*' servlet-class='foo.MyServlet'/>

Then you will have "/view" in request.getPathInfo()

At 2006-11-27 12:09, George Moschovitis wrote:
>Dear devs,
>
>I would like to have a simple servlet mounted at /. This is easy to
>accomplish with servlet-mapping. However I want this server to handle
>all urls. For example I would like the servlet to handle a url like
>this:
>
>/view?id=3
>
>i would like the /view part to be passed as PATH_INFO or something and
>the query string parsed in the request variable. How should I setup
>this?
>
>thanks in advance for your help!
>
>-g


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to