wood burning stoves 2.0*
The moose likes JSP and the fly likes jsp:plugin using applet & mayscript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:plugin using applet & mayscript" Watch "jsp:plugin using applet & mayscript" New topic

jsp:plugin using applet & mayscript

sumathi swami

Joined: Jul 27, 2007
Posts: 1
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!
I agree. Here's the link: http://aspose.com/file-tools
subject: jsp:plugin using applet & mayscript
Similar Threads
Unable to play media inside my JSP
Calling an Applet from JSP
problem of applet in Netscape 6.2 while usinf JSObject
prolem while calling javascript method from applet in Netscape6.2
Applet not loaded in jsp