users@glassfish.java.net

JSP file reviewed by putting '.' to end of url

From: <glassfish_at_javadesktop.org>
Date: Mon, 11 Jun 2007 21:48:27 PDT

Hi,

I seem to be having a problem where putting a dot '.' to the end of a url (ex. http://localhost/jsp/main.jsp.) reveals all the source code of main.jsp

Is it a feature or a bug in glassfish? Any workarounds to redirect the user to an invalid page ?

Thanks
[Message sent by forum member 'angust' (angust)]

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