The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


JSP code downloaded?

Posted by Matt Gerrans on November 14, 2001 at 1:27 PM

I don't understand. With servlets and JSPs, the (byte)code is run on the server and doesn't need to be downloaded, AFAIK. The class files only need to be downloaded for applets. So either you have some other problem, or you have big applets (that you didn't mention).

If the caching of the browser is not disabled the applet's class files should be cached (unless they are constantly being updated).

- mfg

> > On a unix server, there is a web server with java pages [do you mean JSPs?]. To login to part of the site, the java code is downloaded each time to the client. This takes up to 45 minutes on a 28.8 modem. How do you download the code permanently so it is a one time download?

> > Kris

> Could you not create a much smaller file that is downloaded to the client each time that will check to see if the code needed to login exists on the client computer and proceeds depending on the answer? I don't know if this will work entirely, but give it a try and see.
> Hiran

  • testing Testing December 31, 2001 at 3:05 PM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us