Passing complex parameters from javascript to applet

G

Gabriele

Hello,
i have a web application build in jsp using some javascript code to
catch browsing events, such as 'onchange','onsubmit' and so on.
I would like to pass parameters from javascript to an applet, in the
case these parameters are not only int and Strings.
So I am guessing how can I send a complex parameter to my applet, for
example a Statement or, in general , an Object, when a javascript
event is raised.

for example, I'd like to write something like :
<% //--JSP code--
int i;
Statement statement1;
Vector vector1;
%>

<%-- HTML code --%>
onChange="javascript:document.Applet1.Method1(statement1, vector1,
i);">
where each instance passed to 'Applet1' has been declared before (in
the code) in the JSP page.
Can anyone help me, please?
 

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

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top