Generally speaking, should your docBase point to the location containing your application ?

For example

Host :  www.myapp.com
appBase:  c:\all-my-apps


Application:
app1
Location:  c:\all-my-apps\app1

Generally speaking would point my docBase to c:\all-my-apps\app1?

Thanks
-P


On Jan 13, 2010, at 11:23 AM, Holger Rieß wrote:

The context elements are defined in /%CATALINA_HOME%/conf/server.xml:
<Server ...>
        <Service ...>
                <Engine ...>
                        <Host ...>
                                <Context docBase= ...>
                                <Context docBase= ...>
                                ...
                        </Host>
                </Engine>
        </Service>
</Server>

There are two web applications that have access to these resources. The servlets main task is to calculate picture dimensions with java.awt.Toolkit. The request.getResource methods don't find these 'extern' paths.

Holger


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Reply via email to