I want to get the value of a variable which is dynamically assigned after the applet load in client side.Applet is emded in a jsp page.With in that jsp page i want to get that value.please any one help me.Source code is given below
Have we not bee through this before? Servlets run on the server, Applets run on the client. JSPs are a markup language to create Servlets, so the only way you can write an Applet to tell you the JVM version being used in the client browser is to make a request to a Servlet with this data from the Applet.
Have a look the java.net package. That explains the classes the SDK provides to implement network applications.
One question though - is there a reason you need to know the JVM version being used in the client browser? I'm just curious, because (for certain situations) there are easier ways to find this out.
Joined: Oct 06, 2010
ya the reason i want to find the JVM version is.I am having applet in my site so if user dont have JVM then site will crash after few pages.Thats why i am find when user enters the site itself.If you know any other ways to find JVM version other than loading applets please let me know.