Dear folks, Is it possible to run an applet from the serverside itself? I mean my applet class should not be downloaded to the client-side. If so how we have to modify our code of the applet. Please find to think on this and respond soon. Thanks to all in advance! With regards, Sai Ram.
To run Java code on the server, the best way is to use Servlets. Servlets are a way of adding your own code to a compliant server, which is executed on the server and just sends data to/from the browser. Because of the limitations of HTML and current browsers, you can't really do complex Graphical User Interfaces with servlets, but you can do everything else Java has to offer. Look at the Servlets API at java.sun.com, ask any search engine, or check out the servlets forum here.
Dear Frank, I know that concept but what I require is that I mentioned. I can give you an example about this query i.e., Yahoo chat applet(Java version). If you chat (generally the applet classes will be downloaded) you can find there won't be any class files regarding this chat applet in the Temporary Internetfiles Folder or History Folder in the Windows dir. Please check and then try to dig/find the solution. This query is only of curiosity. I suppose this will help us in keeping our code of applets eventhough they are signed, behind the screeen. Please think once again! Thanks for the response, Good luck! Sai Ram.
The answer is no, you can't. Any applet must be downloaded to the client in order to run. And I just tried the Yahoo chat applet and after closing my browser the applet was sitting very happily in my cache. [This message has been edited by Tom P (edited May 17, 2000).]
Is this the real life? Is this just fantasy? Is this a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop