users@glassfish.java.net

Re: Static Content in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Jul 2008 17:54:01 PDT

Your virtual server's alternate docroot with a "from" value of "/Nexo/docs/*" will never be matched, since any requests for "http://localhost:8080/Nexo" will be mapped to your webapp deployed at context root "/Nexo".

I'm not sure exactly what you are trying to achieve. Can you please elaborate? Is there a reason why your webapp needs to be deployed at "/Nexo"? Maybe you should consider configuring your alternate docroot at the webapp (instead of virtual server) level?

Jan
[Message sent by forum member 'jluehe' (jluehe)]

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