Hi,

as mentioned by chavalitt in a former thread: Re: Urgent! Compile JSP Problem, I have removed appBase="" from my <host /> in server.xml.

The only reference to the webapplication is now docBase="/opt/apache-tomcat-5.5.20/webapps/application1" in my <Context /> in server.xml, and this seems to work just fine..!

But is this the right way to do it?

I have tried with:

- appBase="webapps" and docBase="/opt/apache-tomcat-5.5.20/webapps/application1"

and

- appBase="webapps" and docBase="application1"

and

- appBase="/opt/apache-tomcat-5.5.20/webapps" and docBase="application1"

and

- appBase="/opt/apache-tomcat-5.5.20/webapps/application1" and docBase="/opt/apache-tomcat-5.5.20/webapps/application1"

but it did not work. I was simply not able to use JSP if the jsp file not was placed in the applications root.

In the documention it is not mentioned that appBase not must be used when using tomcat 5.5 and Apache 2.2.

How do you do it?

Thanks,

Lars Nielsen Lind


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to