> hi u can try to construct a bean which uses the print
> classes of java and then its as easy as getting
> properties of that bean (for ex:setPrint()) in ur jsp
> page !!! i hope this helps.
This won't work on the browser! All Java code in a JSP page is only executed on the server, so if you try print in this way, the printout will probably go to some printer connected to the server - not very useful for your client on the browser side. The only way that I know of to execute Java code on the browser is with an Applet.