Re: Replacing default servlet using url-mapping

2016-04-13 Thread tomcat
On 13.04.2016 13:26, Mark Thomas wrote: On 13/04/2016 12:12, Rune Stilling wrote: Hi list I have a question regarding the servlet-mapping property in web.xml. Normally a url would look like this: http://host:port/context/servlet-path As many others I have tried to setup my servlet so that it

Re: Replacing default servlet using url-mapping

2016-04-13 Thread Mark Thomas
On 13/04/2016 12:12, Rune Stilling wrote: > Hi list > > I have a question regarding the servlet-mapping property in web.xml. Normally > a url would look like this: > > http://host:port/context/servlet-path > > As many others I have tried to setup my servlet so that it matches the > following:

Re: Replacing default servlet using url-mapping

2016-04-13 Thread Yaragalla Muralidhar
I am not sure but i think the url pattern should be as below /* *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Wed, Apr 13, 2016 at 4:42 PM, Rune Stilling wrote: > Hi list > > I have a question regarding the servlet-mapping prop

Replacing default servlet using url-mapping

2016-04-13 Thread Rune Stilling
Hi list I have a question regarding the servlet-mapping property in web.xml. Normally a url would look like this: http://host:port/context/servlet-path As many others I have tried to setup my servlet so that it matches the following: http://host:port/ I’m trying to obtain this by using the f