Hi, I wanted to describe a problem I'm trying to solve and see if I'm taking the wrong approach.
I'm new to
applet and
JSP programming so am not familiar with the best way tro solve this.
Basically I'm changing an existing system that uses a JSP generated front end and a mainframe back end running COBOL/CICS. Currently a report is generated in COBOL (at the request of a JSP screen) and sent to a spool on the mainframe for printing. I want to move the printing function into the JSP.
The way I want to do this is have the report output returned to the JSP in a bean and have the JSP call an applet that would send the report to the default printer.
Funny thing about the applet is, I do not want to display it. I simply want the jsp to pass the data and have the applet silent print. Is this an appropriate use for an applet? Is there a better way of accomplishing this? Can I even have an applet that is non display?
I thoght I could simply create a static method in the applet and have the JSP call this method. I'm not sure this would even work really. I just don't know the web programming structure well enough.
Thanks for your time.