File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

exception when redirecting

misha nesterenko

Joined: Feb 05, 2011
Posts: 28

I have index.jsp



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

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

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

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:
subject: exception when redirecting
It's not a secret anymore!