sumathi swami

+ Follow
since Jul 27, 2007
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sumathi swami

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: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"/>

Plugin tag OBJECT or EMBED not supported by browser.

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!
13 years ago