I have created an online form for credit account application. I want to print this form using javaservlet. I don't know the code and which classes and API's to use for printing. I have been stuck with this for the past 2 days!! any help appreciated.
Thanks in advance!!
Now you've got me even more confused. Earlier you said that the user would click on a print button - but the printout should happen on the server? This would be such an unusual approach that I think you need to explain this use case in more detail; I suspect you're not quite sure about the differences of client-side and server-side in web apps.
And it makes no difference how the HTML is generated.
See, actually I was told to create an online credit application form which the user can either fill and Submit Online or she/he can take the Printout and fill offline. I was confused whether i should print the form on the client side or server side.