Doc Directory under web application context root

We're currently using Sun ONE Application Server 7.0.0_01, and we have a web application deployed to a virtual server.

We're attempting to set up a doc directory, such that it's URL prefix falls under the context root of the application.

The name of the web app and context root would be called "myapp", and the url would be:

http://myserver/myapp/

The prefix of the doc directory would be /myapp/reports, such that if a browser were to access a document in that directory the URL would look like:

http://myapp/reports/somereport.pdf

When we set up the doc directory, apply the changes, and restart the instance, the path can't be found when a browser hits this URL. In the server log, the following entry appears:

GET /reports/, send-file reports: HTTP4142: can't find /var/opt/SUNWappserver7/domains/domain1/server1/docroot/reports/ (File not found)

We can set up a doc directory such the path would fall under the root (ie. http://server/reports

), but NOT under the context root directory.

Is it possible to set up a doc directory that has a URL prefix under the context root of a web app? If this is not possible in Sun One App Server 7, can it be accomplished in Sun Application Server 8?

Thanks in advance.

[1411 byte] By [mnf] at [2007-11-26 6:49:30]
# 1
To clarify, the URL prefix should be: http://myserver/myapp/reports/NOT http://myapp/reportsSorry for the confusion.
mnf at 2007-7-6 15:14:35 > top of Java-index,Application & Integration Servers,Application Servers...