contextroot

Is it possible to have a servlet forward to a jsp outside of its context root?

We currently have an appserver setup where EVERYTHING is off of one big context root, and we copy class files and restart app servers to deploy. Not ideal. I'm trying to set up an ant script to do the build and deploy using wdeploy, and everything works, except I need my servlet to forward to jsps outside of the context root of my war fi...

groovy webtest chokes on context root in url invoke

I am trying to wrap my head around canoo webtest I setup a simple groovy webtest. I have even made and run the xml equivalent and I get the same error when it tries to encode the url. I get an error when I use a context root. I don't get an error when I just use the url with out the context root. ie."http://somesite.com" Other th...

How can I install one Web Application in two context roots in JBoss 4?

My goal is to install only one WAR file but to use test or production settings (for example to point to different databases) depending on the context root. mydomain.com/MyWebApp will use production settings mydomain.com/MyWebAppTEST will use test settings Internally the application then should check if the context name ends with TEST...

Flex: How can I use the @ContextRoot in a Button or LinkButton

I'm trying to create a button that will simply link back to the context root. I noticed flex has a @ContextRoot attribute that appears to work only in certain cases. For example, if I try to use it in the following mxml: <mx:Button label="Back to Root" click="navigateToURL(new URLRequest(@ContextRoot()), '_parent')"/> I get the foll...

customize web application root context in apache

Hi, I have web application abc.war and I want to deploy it on Apache Tomcat. The problem is that, by default, the path to this application is http://&lt;server-name&gt;/abc but I want to access it as http://&lt;server-name&gt;/xyz. I put into WAR's META-INF folder the file context.xml that is : <Context path="/xyz" docBase="abc" ove...