This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
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 to print reports automatically in a web application

 
Sophia Choi
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which part of a web application take responsibility to print reports to a printer automatically after processing data from database ?
Is it doing in JSP , servlet or beans?
How to do it ? How to assign a printer ?
Thanks a lot.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You left out a vital piece of the specification. Where is the printer? Client side or Server side?
Bill
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
choisn,
Javaranch has a naming policy which is strictly enforced. Please read the policy and change your display name if you wish to continue posting here. Thanks.
 
Sophia Choi
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reports are printed in client side.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Server side HTML generation - ie JSP, servlets, beans, can't control a thing on the client side.
Java applet security is specifically set up to prevent what you are trying to do under normal circumstances.
You will have to have a client side application - either a stand alone application or a signed applet.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic