Tomcat 5.5
Ok, I deployed to:
/tomcat9080/webapps/ROOT/WEB-INF
web.xml
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>Redirect</servlet-name>
<servlet-class>com.willeke.web.Redirect</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Redirect</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Almost works.
The only issue I have is when a URL like:
http://willeke.com:9080/wikildap/Wiki.jsp?page=UsefullCommandsForEdirectory
The redirect is to:
http://ldapwiki.willeke.com/Wiki.jsp
Which is close (and probably able to live with) but looks like I am
loosing anything from ...Wiki.jsp? beyond.
I am using the request.getRequestURL() method to get the the incoming URL.
Do I need to do something different?
thanks
-jim
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]