aspose file tools*
The moose likes Struts and the fly likes exception when redirecting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "exception when redirecting" Watch "exception when redirecting" New topic
Author

exception when redirecting

misha nesterenko
Greenhorn

Joined: Feb 05, 2011
Posts: 28
Hello

I have index.jsp


struts.xml


login.html


CheckLoginAction.java


when there is no type attribute in result node (<result name="name">/haha.html</result><!-- this line -->) everything works ok, but when I add this attribute ((<result name="name" type="redirect">/haha.html</result><!-- this line -->)) next exception is thrown:


Why this happens? Perhaps problem is with unconfigured logger, but how to configure it?
misha nesterenko
Greenhorn

Joined: Feb 05, 2011
Posts: 28
Problem was in bytes that were sent before redirect, so problem now is solved
Shriram Pandit
Greenhorn

Joined: Apr 08, 2011
Posts: 11
How did it resolved will you please alaborate. As I am also having the same error
Balaji Thiagarajan
Greenhorn

Joined: Aug 02, 2011
Posts: 1
Please help me to solve the exact same problem. Let me know how you solved it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exception when redirecting