Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to send message to struts JSP after creating PDF

 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!