Accesing applet using jsp:plugin tag and Passing parameters from JSP to Applet at run-time
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rajneesh_Garg
Posted On:   Sunday, November 17, 2002 10:53 PM

Hi, I have an JSP page which contains an Applet. I am using tag to display the applet on client side, as below (I am not using jsp:params and jsp:param tags, u see) type="applet" code="a.b.c.appletClass" codebase="/x/applets/" height="400" width="350" jreversion="1.1.3" nspluginurl="http://java.sun.com/products/plugin/1.1.3/plugin-install.html" iepluginurl="http://java.sun.com/products/plugin/1.1.3/jinstall-113-win32.cab#Version=1,1,3,0"> Sorry, your browser type is not supported! It works fine this way. As I try to c   More>>

Hi,

I have an JSP page which contains an Applet. I am using tag to display the applet on client side, as below (I am not using jsp:params and jsp:param tags, u see)

			

type="applet"
code="a.b.c.appletClass"
codebase="/x/applets/"
height="400" width="350"
jreversion="1.1.3"
nspluginurl="http://java.sun.com/products/plugin/1.1.3/plugin-install.html" iepluginurl="http://java.sun.com/products/plugin/1.1.3/jinstall-113-win32.cab#Version=1,1,3,0">






Sorry, your browser type is not supported!





It works fine this way. As I try to change params to jsp:params and param to jsp:param, plugin stops working, saying 'Sorry, your browser type is not supported!'.
Another issue is the passing of runtime parameters to applet. In the above snippet, If i change the param tag to
			

<%=noOfColumns%>"/>

,
it again complains of the non-supporting browser.
Can not I pass parameters to applet from the JSP page. I should be .
I am using IE 5.5 with JDK 1.3.1 on Solaries.

Any insights?


Rajneesh

rajneeshgarg@hotmail.com    <<Less
About | Sitemap | Contact