users@glassfish.java.net

Re: Static Content in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Jul 2008 08:20:53 PDT

Hi Jan,

i have another problem. I'm using Glassfish v2ur2-b04. I need a virtual server pointing to my local directory "C:\Nexo\docs" and i have a webapp deployed on "http://localhost:8080/Nexo". My problem is that i can have both ones working separately, but don't together.
The point is that i need to route the urls like "http://localhost:8080/Nexo/docs" to my local directory.

At this moment i have a virtual server created with the property "alternatedocroot_1" with the value "from=/Nexo/docs/* dir=C:\ " with no default-web-module.

Where is (or are) the mistake(s)?
[Message sent by forum member 'kienvaser' (kienvaser)]

http://forums.java.net/jive/thread.jspa?messageID=284725