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 Spring in Action this week in the Spring 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Response committed exception with tiles and protected jsps