4 Replies Latest reply on Jan 24, 2011 2:18 AM by booster nrg

    How to configure two context-roots for one web application?

    booster nrg Newbie



      I encountered a problem when trying to merge with legacy system. We have a web app whose jboss-web.xml file is configured with <context-root> set to be "/alpha", however I need to add some new web servlets with path starting from "/beta". How can I achieve it? I was first thinking to change "/alpha" to "/" and then move path config into web.xml but it later proves problematic for certain reasons. Is there any way I can direct two different context roots to one web application?


      Thanks in advance.