passing value from jsp to applet
I have been stuck with jftp applet for a long time. I donít have any idea about how to pass value from jsp to applet at run time.
The current JFtpApplet code is given below
Public class JFtpApplet extends Applet
Public JFtpApplet ()
AccessController.doPrivileged (new PrivilegedAction())
Public Object run ()
return new Object();
This class internally calls the main method of JFTP class which will start the applet. The main method normally takes string array as an input parameter. I want this string array to be initialized in the JFtpApplet class and the value to this array has to be passed from JSP. Is it possible with the current design of JFtpApplet class to take the value from jsp? If yes then can u give me a sample code where this has been done? Is there any flaw in the JFtpApplet code because
I have tried using getParameter method (this approach was given on net) in the JftpApplet class but have not been able to see the value getting passed from jsp to applet.