tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Qian" <David.Q...@accrue.com>
Subject Passing parameter from jsp page to an applet dynamically ?
Date Sun, 07 May 2000 03:18:44 GMT
Hi, everyone:

I am trying to pass parameter from a jsp page to an applet using the
following:

<jsp:plugin type="applet" code="AttributeApplet.class"
codebase="/examples/jsp" jreversion="1.2" width="120" height="28" >
    <jsp:params><jsp:param name="attribute" value="<%= i %>" />
    </jsp:params>
    <jsp:fallback>
        Plugin tag OBJECT or EMBED not supported by browser.
    </jsp:fallback>
</jsp:plugin>

Then this parameter is passed to a servlet.   When this parameter is
retrieved from the servlet, the attribute value is
<%= i %>, which is the real value like 1, or 2 as expected.

Has any one experienced this problem ?
I appreciate your help!

David


Mime
View raw message