Bijesh Vijayan wrote:
...
file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
Context path=/Employee
docBase=./Employee
Hi.
I find this docBase suspicious, in the sense that it is (I think ) an absolute path
Thanks Andre,
If that interpretation is correct, it would mean that docBase is wherever
Tomcat happens to be running now + a subdirectory Employee.
Is that what you mean here ?
No I mean my doc base is outside the tomcat directory.
I mean my context to be inside the
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: nested context issue in tomcat 7
file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
Context path=/Employee
docBase=./Employee
Thanks Charles,
What is the appBase setting for the Host named localhost?
/home/bijesh/webapps
file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
Context path=/Employee
docBase=./Employee
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: Re: nested context issue in tomcat 7
Where can I mention the path.my URLs are
http://localhost:8080/Employee/logon.do
http://localhost:8080/Employee/Reports/first.do
The path is derived from the name of the .xml file containing
On 12/08/2011 18:23, Bijesh Vijayan wrote:
Thanks Charles,
What is the appBase setting for the Host named localhost?
/home/bijesh/webapps
Where can I mention the path.my URLs are
http://localhost:8080/Employee/logon.do
http://localhost:8080/Employee/Reports/first.do
Thanks for the
Thanks Charles / Thomas,
This is not supported. You need to move
/home/bijesh/webapps/Employee/Reports
to
/home/bijesh/webapps/Employee#Reports
and then specify your context as:
Context crossContext=true reloadable=false /
Thanks, I will be moving the Reports to
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: Re: nested context issue in tomcat 7
So you mean to say that my URL should be changed for the
second context ?
No, continue to use the slash in the URL; only the location in the file system
contains the # as a place-holder