Meaningless Drivel is fun!*
The moose likes Struts and the fly likes IllegalStateException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "IllegalStateException" Watch "IllegalStateException" New topic
Author

IllegalStateException

Derek Drever
Greenhorn

Joined: Mar 01, 2002
Posts: 18
Hi,
I am in the process of building a web application with struts and tiles. I am looking at access control. I was planning to simply set an attribute in session scope when a user has logged in. Each JSP page would simply check if the attribute was set and if not forward to the login page:
<logic:forward name="start" />
However I get the following error when I try this:
org.apache.jasper.JasperException: Exception forwarding for name start: java.lang.IllegalStateException: Cannot forward after response has been committed
I was wondering if anyone has come accross this and may be able to provide some more insight.
Regards,
Derek.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IllegalStateException
 
Similar Threads
getting null values, while fetching data
problem of passing parameter
JMS on jboss consumer rate limit and producer rate limit
Get Object in JSP help . . . . . . .
Dealing with Timed out sessions...