DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7993>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7993

parameters in <jsp:plugin> for jsp Document do not work

           Summary: parameters in <jsp:plugin> for jsp Document do not work
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


if you've got the following page:

<jsp:root>
<html>
  <body>
    <jsp:plugin type="applet" code="DispJApplet.class"    
codebase="/test/jsp/plugin/applet" jreversion="1.2" width="150" height="50" >
      <jsp:params>
        <jsp:param name="text" value="test" />
      </jsp:params>
      <jsp:fallback>Plugin tag OBJECT or EMBED not supported by 
browser.</jsp:fallback>
    </jsp:plugin>
  </body>
</html>
</jsp:root>
The parameter value is not passed to the applet!
I think the reason is that in the following file:
ParserXJspSaxHandler.java
...
else if (name.equals("jsp:param")) {
  node.validate(true, false);
  // push the node back, it will be needed by the container node
  stack.push(node);
} else if (name.equals("jsp:params")) {
  // don't have it pushed on the stack...
  // this is a noop...
  return;    <------- should be: stack.push(node); If not the param tag is lost
}

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to