Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

servlet adds "servlet/.." to html link within nav bar. why?

Status
Not open for further replies.

atchoub

Programmer
Jan 22, 2004
3
US
I am new to jsp programming. I have navigation bar that I include (<jsp:include.. or using DW template) in other pages I also use servlet that dispatcher.forward to a jsp. That jsp comes out with messed-up link to a jsp that worked fine before invoking the servlet. Any input will be accepted gladly.
 
In TOMCAT_HOME/conf/web.xml is the &quot;invoker&quot; servlet commented out, or uncommented ?
 
invoker is uncommented and is:
<servlet-name>invoker</..
<servlet-class>org.apache.catalina.servlets.InvokerServlet</...
<init-param>
<param-name>debug</..
<param-value>0</..
</init-param>
<load-on-startup>2</..
a bit lower and more important:
<servlet-mapping>
<servlet-name>invoker</...
<url-pattern>/servlet/*</..

I think it is close to the problem :)
 
Thanks a lot! It is simple but I didn't see it in any of the books. It works on few pages but needs more testing on others. I will get on this right away and will post the results. But I think it is it!
Andrei
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top