• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Instance of Applet

 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
He repaced his skull with glass. So you can see his brain. Kinda like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic