Hi,
We have a problem in passing parameter to an applet which is called by a
servlet.
1. In servlet we are setting the param like :
out.println("<APPLET CODE=ResultApplet.class
CODEBASE=\"http://hostname/dir\"" + " WIDTH=50 HEIGHT=100>");
out.println("<ALIGN=TOP>");
out.println("PARAM NAME=\"Results\" VALUE=\""+"Hello"+"\">");
out.println("</APPLET>");
2. We are fetching the parameter in applet like
String s = getParameter("Results");
But in applet we are getting null value only.
3. If I call the same applet from a simple html page, it is passing
parameters correctly.
Note : We are using Tomcat as the servlet engine & apache as the web-server.
Any idea?....
Thanks in advance.
Regards,
Subha