get jsp connection from applet

A

autogoor

My jsp page embeds a java Applet in it with the following lines:

<jsp:plugin
type=applet
code="mypackage.myApplet"
codebase="WEB-LIB/lib"
archive="myjar1.jar">
</jsp:plugin>

In side the applet, is there a way to get the session information of my
jsp?

Thanks,

autogoor
 
T

Tor Iver Wilhelmsen

In side the applet, is there a way to get the session information of my
jsp?

Not unless you pass that information as parameter elements using
<jsp:params> and <jsp:param>.
 
T

Tor Iver Wilhelmsen


The session information is on the server. To get it to the applet
running on the client, you pass it as parameters. Use <jsp:params> and
<jsp:param>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top