aspose file tools*
The moose likes Applets and the fly likes JRE/JDK Problem with Applet/Servlet scenario Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "JRE/JDK Problem with Applet/Servlet scenario" Watch "JRE/JDK Problem with Applet/Servlet scenario" New topic
Author

JRE/JDK Problem with Applet/Servlet scenario

Sebastian Kraus
Greenhorn

Joined: Mar 24, 2005
Posts: 1
Hi there!

I'am forced by my company to upgrade an old Java application. The situation is, that an signed applet calls several servlets (running on Tomcat 4.x or 5.x) over http(s).

In former times both, servlet container and applet, were using jre 1.4.1.x
(The servlet container was ServletExec, so a jre was sufficient).

Everything was working fine, if the client was using the 1.4.1 jre.
But on later versions (1.4.2.x) the whole Applet-jar was downloaded from the server per user interaction, whats definitly not acceptable as customers still using isdn or nowadays umts.

Any sugesstions?

Thanks

Buzz
Heonkoo Lee
Ranch Hand

Joined: Feb 10, 2005
Posts: 85
You can specify the java version in the converted applet tag. I can't remember exactly but used to do this in the past. Search for HtmlConverter in java.sun.com and you'll find some documentation about applet (static and dynamic download...)
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html

is the thing you want to know more about how to specify specific version of jre to be used with your applet under different browser scenarios...

Regards,
Maulin
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JRE/JDK Problem with Applet/Servlet scenario