Hi,
Any help on the following problem will be appreciated.
I am using java/jre version 1.5 and IE version 6.0.
I am trying to use
jsp:plugin to load
applet which calls the JSobject; however when the applet loads, it throws the "netscape.javascript.JSException unknown name". The jsp:plugin details from the jsp page is pasted below.
I tried the following:
1) used mayscript as one of the parameters in the jsp:plugin, got this exception:
org.apache.jasper.JasperException: /acdappletplugin.jsp(28,0) Plugin has invalid attribute: mayscript
2) I used mayscript as a jsp:param as the converted html code in IE is like how I have used below; I get the "netscape.javascript.JSException unknown name".
3)If I use it in plain html with the applet tag and mayscript it works fine; <jsp:plugin type="applet" code="JSobjectApplet.class" archive="jsobjectapplet.jar" width="340" height="169">
<jsp:params>
<jsp:param name="AGENT_ID" value="${param.AGENT_ID}"/>
<jsp:param name="AGENT_PASSWORD" value="${param.AGENT_PASSWORD}"/>
<jsp:param name="AGENT_TERMINAL" value="${param.AGENT_TERMINAL}"/>
<jsp:param name="LOGIN" value="{param.LOGIN}"/>
<jsp:param name="PASSWORD" value="{param.PASSWORD}"/>
<jsp:param name="SERVICENAME" value="{param.SERVICENAME}"/>
<jsp:param name="MAYSCRIPT" value="true"/>
</jsp:params>
<jsp:fallback>
Plugin tag OBJECT or EMBED not supported by browser.
</jsp:fallback>
</jsp:plugin> When I use applet & mayscript in a jsp:plugin I am facing this problem. JSP 2.0 shows support for mayscript; so I am not sure why this is happening. Has anyone come across this?
Thanks in advance!