Thursday, May 22, 2003 11:04 AM
An applet executes on the client machine and usually is interactive in some form or fashion.
A JSP executes on the server & typically creates a static html page (which could include some dynamic content...say...an applet), which is then sent to the client.
Generally, if you want some kind of dynamic or interactive widget on a web page an applet is the better choice, since mimicing the same sort of functionality in a static html file generated from a server-side jsp would require the client to send another request to the hosting server which would then have to rebuild the content and send the response to the client. This path leads to repeated page refreshes, network transit time, & user frustration...
Hope this helps!