users@glassfish.java.net

Re: Static Content in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Tue, 13 Feb 2007 13:54:35 PST

The DefaultServlet is always added by default when you deploy an application. Internally, a Mapper will decide if the request must be send to the DefaultServlet or JspServlet, preventing peoples from seeing the jsp code. You can also configure the Default|JspServlet by editting:

${glassfish.home|/domains/domain1/config/default-web.xml

Now check this blog about having directory serviced using GlassFish:

http://blogs.sun.com/jluehe/?cat=Sun&date=20061213 (section 4)

and

http://blogs.sun.com/jluehe/entry/new_support_for_virtual_directory

Thanks

-- Jeanfrancois
[Message sent by forum member 'jfarcand' (jfarcand)]

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