This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Need to send message to struts JSP after creating PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need to send message to struts JSP after creating PDF" Watch "Need to send message to struts JSP after creating PDF" New topic
Author

Need to send message to struts JSP after creating PDF

Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 112
Hi,

I am creating a PDF by getting images from a list object. If I put return statement its giving exception getOutputStream() has already been called for this response. If I set return null then it wont display message at struts page but pdf will be generated. How to achieve both. ie I want to generate a pdf at the same time a success message should be displayed at the struts jsp.

My code is

rashi pawar
Greenhorn

Joined: May 16, 2011
Posts: 1
i want to do login page so that whenever user enters wrong username/password 3 times system will not allow to enter username/password. i am using struts.
kindly help me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to send message to struts JSP after creating PDF