Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

exception when redirecting  RSS feed

 
misha nesterenko
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem was in bytes that were sent before redirect, so problem now is solved
 
Shriram Pandit
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did it resolved will you please alaborate. As I am also having the same error
 
Balaji Thiagarajan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me to solve the exact same problem. Let me know how you solved it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!