Re: [Resin-interest] Servlet question.
On 11/27/06, Mattias Jiderhamn <[EMAIL PROTECTED]> wrote: > web.xml: > > > Then you will have "/view" in request.getPathInfo() Excellent, just what I needed! -g. -- http://blog.gmosx.com http://nitroproject.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Servlet question.
Hi George, If you are using Apache with resin ... i believe u can do this by using mod_rewrite apache module... Please read the mod_rewrite doc on apache... or read "Definitive guide to rewrite" by Rich Bowen Good Luck, Akila On Mon, 2006-11-27 at 13:09 +0200, George Moschovitis wrote: > would like the /view part to b ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Servlet question.
web.xml: 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
[Resin-interest] Servlet question.
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 -- http://blog.gmosx.com http://nitroproject.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest