dcsimg
Question: Servlet Mapping Problem with Tomcat
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Flanagan
Posted On:   Tuesday, November 20, 2001 03:28 PM

I have a webapp named dxs under webapps in Tomcat dir. In my web.xml I have: & myController /intranet So if in a JSP page I send a form to: the "myController" servlet should be called. This works as expected on my web host, but not on my local (Tomcat as well). On the local machine, the form triggers: localhost:8080/intranet/etc. rather than localhost:8080/dxs/intranet/etc. Is there a problem with my Tomcat config? It would work if I used: but this is not portable. A   More>>

I have a webapp named dxs under webapps in Tomcat dir.

In my web.xml I have:

			&
			

myController

/intranet



So if in a JSP page I send a form to:

			
		


the "myController" servlet should be called. This works as expected on my web host, but not on my local
(Tomcat as well). On the local machine, the form triggers:

localhost:8080/intranet/etc.

rather than

localhost:8080/dxs/intranet/etc.

Is there a problem with my Tomcat config? It would work if I used:

			


but this is not portable. Any help REALLY appreciated- this has been bugging me for ages!

   <<Less
About | Sitemap | Contact