Re: Servlet Mapping Expectations

2011-03-06 Thread Martin Grigorov
If the context path is /app then you can mount a page at /u with some Indexed UrlCodingStrategy and then the url will look like: /app/u/user1 In that page you can get the parameter value (user1) with pageParameters.get(0). If you want to be '/app/user1' then you'll to to use context path '/', i.e.

Servlet Mapping Expectations

2011-03-05 Thread devush
Hi, I have following settings in web.xml servlet-mapping servlet-namemyserv/servlet-name url-pattern/app/*/url-pattern /servlet-mapping I expect that all requests such as: /app /app/abc /app/xyz should come to the servlet. But only /app currently works. Moreover, I want to

Re: Servlet Mapping Expectations

2011-03-05 Thread Martin Grigorov
Hi, On Sat, Mar 5, 2011 at 4:03 PM, devush devushan...@gmail.com wrote: Hi, I have following settings in web.xml servlet-mapping servlet-namemyserv/servlet-name url-pattern/app/*/url-pattern /servlet-mapping I expect that all requests such as: /app /app/abc /app/xyz

Re: Servlet Mapping Expectations

2011-03-05 Thread devush
Hi, I am able to get the request related information from both Request and WebRequest. Thanks for that. This i am able to do in the WebPage. My WebApplication getHomePage is called when ever I call /app or /app/, so I have to intercept the request before that. I am trying with mount(String,