File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Response committed exception with tiles and protected jsps Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Response committed exception with tiles and protected jsps" Watch "Response committed exception with tiles and protected jsps" New topic
Author

Response committed exception with tiles and protected jsps

Wes Hughes
Ranch Hand

Joined: Jul 29, 2002
Posts: 31
Due to standards beyond my control I had to move my jsps from beneath
/WEB-INF/jsp to /jsp. In order to prevent access to my jsps I added a
security-constraint, blocking access to the jsps. Unfortunately, now none of
my tiles display properly, instead I get the error message:
[Exception in:/jsp/body/home_body.jsp] Response has already been committed
for all the protected pages. The problem is that for each protected page,
its trying to authenticate the user using the FORM authentication that I
have set-up (this is a separate security-constraint from the jsp
protection). All I want to prevent is direct access to the jsp, not access
through other means (e.g. action/tile).
Thanks.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Response committed exception with tiles and protected jsps
 
Similar Threads
Response already committed
Problems getting Tomcat to work without Eclipse IDE
Disallow access to *.jsp
JBOSS web logon not redirecting from port 8080 to 8443 at login
Deny access to a JSP page