aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
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://aspose.com/file-tools
 
subject: Response committed exception with tiles and protected jsps
 
Similar Threads
Disallow access to *.jsp
Deny access to a JSP page
Problems getting Tomcat to work without Eclipse IDE
JBOSS web logon not redirecting from port 8080 to 8443 at login
Response already committed