How to print the page I submit ?

HiI have an HTML page with a Form. On submit of the form, I want the data to be updated / inserted into the database and then in the same action the page which I submitted has to be printed.If anyone has a solution. Do let me know. Thank you very much.regards
[287 byte] By [mayamohana] at [2007-11-27 2:15:07]
# 1
You can use Javascript.<form onsubmit="window.print();">or<input type="submit" onclick="window.print();" />
BalusCa at 2007-7-12 2:11:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...