This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing response thro' Action class and not thro' JSP.

 
Varun Narang
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I am in a little trouble regarding response writing.
How can we write response thro' Action class and still keep the control to the same page and not forward it to any other JSP(view). One method that I have tried out is by return null mapping. But I get a big fat IlligalStateException. Can anyone help me with that. I am using Tomcat v5.9 and Struts 1.2
Thanks in Advance.
Regards,
Varun Narang.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just forward to the same page again. To the user this will appear as though you just stayed on the same page.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic