File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 108
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.
 
Consider Paul's rocket mass heater.
 
subject: Need to send message to struts JSP after creating PDF
 
Similar Threads
How to set values in select box using request scope
getOutputStream() has already been called for this response
use of ActionMessages in struts
generate pdf and display on browser when clicked on link
ActionMessage is not working