hi
all
can any one help me out by sending a code in jsp and applet so that from jsp page a value can be sended to applet and how can i receive it in the applet?
mail me in : duttagoutam at hotmail dot com
goutam
Discussions
Web tier: servlets, JSP, Web frameworks: how to pass and receive a value from jsp to applet
-
how to pass and receive a value from jsp to applet (1 messages)
- Posted by: Goutam Dutta
- Posted on: July 04 2001 00:56 EDT
Threaded Messages (1)
- how to pass and receive a value from jsp to applet by M Farhan on July 04 2001 06:48 EDT
-
how to pass and receive a value from jsp to applet[ Go to top ]
- Posted by: M Farhan
- Posted on: July 04 2001 06:48 EDT
- in response to Goutam Dutta
You can pass parameters to applet by using param tag inside applet tag. Applet takes parameter passed like this using getParameter(parametername) method.
The syntax for passing the parameter is
<applet ....>
<param name="paramname" value="paramvalue">
<param name="paramname" value="paramvalue">
</applet>
in JSP you can use like
<applet ....>
<param name="Param1" value="<%=cParameterValue1%>">
<param name="Param2" value="<%=cParameterValue2%>">
</applet>