Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing a set of JSPs

 
surya naidu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application where the user fills a registration form...It has some four steps and four different JSPs(once he fills first JSP then second JSP comes on clicking next.......and so on.......!!!)

I want the user to be able to print the JSPs (For say after filling three pages he wants to print what he has entered till that point )as they are visible to the UI...So that the user can know what he has entered

Any suggestions....???(I am already holding the data which he fills through session..and its also available in the DB as he moves from one page to another)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Printing screens formatted for the display usually looks pretty bad. So you probably don't really want to just print the data entry JSPs... rather, you can take the information that was entered and format it nicely using PDF, or using another JSP that uses CSS print media to format the data nicely for printing.
 
surya naidu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok .....Thank you.....Just wanted to find if there is any other easier way.....!!!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Such as? Those previous JSPs are dead and gone, so you're going to need to do something to format the output no matter which way you choose to go -- why not make it something nice that you can be proud of?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic