SomeJavaGuy
SomeJavaGuy

Reputation: 7347

Calling JavaObjects in JavaScript to Applet

I am looking for a way to to return a JavaObjects, which is saved in a Http Session, to an Applet. I am using JSP, so I am able to return Objects in the session by:

<%request.getAttribute("Object")%>;

So now I would like to return this Object to an applets Method with

document.applet.method(<%=request.getAttribute("Object")%>);

But this isn't working at all. Is there any solution for this?

Upvotes: 1

Views: 177

Answers (1)

u can simply refer to this link

it shows u how can u use session object to carry object , try , it should work

Upvotes: 1

Related Questions