Hi,
I am relatively new to TOMCAT, and am trying to deploy a web app using it.
I have a domain name that I want to use to access my web app directly.
By default, I deploy my WAR, and it deploys to webapps/myApp.
To access this I have to use a url like
What I want to do is use this: http://mydomain.com?someparam=1
I have used the CONTEXT element in the server.xml file, but that seems to
cause some funny things..
<CONTEXT PATH="/" docbase="/myApp"/>
I have tried to find mor einfo about this, and have seen some mention about
using a 'DEFAULT CONTEXT" setting..
Is there anyone who knows how I can do this? And can someone point me to
some decent documentation on the serverlxml file? (The jakarta site seems a
bit sketchy.. or am I looking in the wrong place?
(http://jakarta.apache.org/tomcat/tom...fig/index.html)
Cheers,
Steve
I am relatively new to TOMCAT, and am trying to deploy a web app using it.
I have a domain name that I want to use to access my web app directly.
By default, I deploy my WAR, and it deploys to webapps/myApp.
To access this I have to use a url like
What I want to do is use this: http://mydomain.com?someparam=1
I have used the CONTEXT element in the server.xml file, but that seems to
cause some funny things..
<CONTEXT PATH="/" docbase="/myApp"/>
I have tried to find mor einfo about this, and have seen some mention about
using a 'DEFAULT CONTEXT" setting..
Is there anyone who knows how I can do this? And can someone point me to
some decent documentation on the serverlxml file? (The jakarta site seems a
bit sketchy.. or am I looking in the wrong place?
(http://jakarta.apache.org/tomcat/tom...fig/index.html)
Cheers,
Steve
Comment