0 Replies Latest reply on Mar 12, 2008 1:28 PM by Carlos Oliva

    Redirecting URL for web application

    Carlos Oliva Novice

      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