Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how i use ServletOutputStream

 
muhammad fahim
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi master
sir i wnat open jasperviewer at client side

i serach in net then i found many tip
one friend give me idea i create

class and call through button





but sir how i call this class from jsp button
when i press button call this class

please give me idea

thank's


aamir

[ July 14, 2007: Message edited by: Bear Bibeault ]



[BSouther: Added UBB CODE tags]
[ July 15, 2007: Message edited by: Ben Souther ]
 
Em Aiy
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why you need to open the report in JasperViewer? The client must have to install JasperViewer if you want to open in it. Just send it back to the client as PDF, which you have done ... i,e


The only thing missing is to call this servlet. Put a form tag in your HTML/JSP page and call the very servlet from there according to your servlet mapping in web.xml
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic