[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Redirecting URL for web application

ramboid do-not-reply at jboss.com
Wed Mar 12 13:28:21 EDT 2008

How can JBoss re-write the url for a web application?  I have a servlet that can be invoked by the following urls's:
1) https://<ip address>:8443/test/servlet/mywar.htest
2) https://myserver.mydomain:8443/test/servlet/mywar.htest

I want to write a rule in the the context.xml file of the web application (in the WEB-INF folder) that would re-direct the first address to the second.  I understand that I can write a rewrite properties file in the context.xml file but I am somewhat confused about the use of the re-write rules

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136053#4136053

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136053

More information about the jboss-user mailing list