This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Instance of Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Instance of Applet" Watch "Instance of Applet" New topic
Author

Instance of Applet

Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
hi there,

Please tell I am embedding simple applet App.class (which defines only simple text field and label) in JSP file residing at tomcat server. Now, my question is when I call my jsp file my App.class file is being executed at server side or at the client side . If it is being executed at client machine then will client machine have the App.class in its memory or say cache or something in temporary internet files folder ?.

thanks

gurpreet

:roll:
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The first time your JSP is called, the sevlet container (tomcat) writes, compiles and runs a servlet which writes out your JSP to HTML, which is passed back to the client for their browser to parse and display. Your applet will be included in the page by means of an html tag. The compiled applet class is sent to the client, which caches it locally (where it does this depends on the browser), and run on the client's machine using whatever JVM the client has avaliable. Applets are never run on the server.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Instance of Applet
 
Similar Threads
Check the file/found or not
.dll access problem in client machine
Execute a Javascript in JSP on server
Mixing script with applets to communicate with sockets application
can we create folder in client machine using EJB RMI?