If the listings is set to false in the generated web.xml, it means the
changes in the default-web.xml has been taken effect. I am not too sure
about the URL pattern mapping here, someone from web team probably have
better idea.
glassfish_at_javadesktop.org wrote:
>The generated web.xml has listings = false. It redirects to the correct Error.jsp when the URL is invalid unless the URL ends with /theme/
>EX: http://address/projectname/theme/ will still display the directory listings for the GF_HOME directory.
>I assume that it has something to do with this ThemeServlet tag in the web.xml.
><servlet-mapping>
> <servlet-name>ThemeServlet</servlet-name>
> <url-pattern>/theme/*</url-pattern>
></servlet-mapping>
>
>If I change this URL pattern then it does not show the directory listing but firebug shows the following error:
>webui is not defined.
>[Message sent by forum member 'tr702' (tr702)]
>
>http://forums.java.net/jive/thread.jspa?messageID=322660
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>