tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre de Jesus <an...@tektix.com>
Subject jsp:plugin and EMBED tags (Someone please apply this fix)
Date Wed, 16 Oct 2002 11:53:29 GMT
As referred in bug 12794, there is a problem with the jsp:plugin 
generating 
a bad parameter list in <EMBED> tags.

I wish to propose this fix:

In jasper/src/share/org/apache/jasper/compiler/Generator.java
At line 891 of version 1.35.2.8 (In 4.1.12)

Where it is:

            String s0 = makeAttr("name", name) + " value=" +
                    attributeValue(n.getValue(), false);

            if (ie) {
            s0 = "<PARAM" + s0 + '>';
            }

It should be:

            String s0=null;
            if(ie) {
                s0="<PARAM"+makeAttr("name", name)+" value="+
                    attributeValue(n.getValue(), false)+">";
            } else {
                s0=" "+name+"="+attributeValue(n.getValue(), false);
            }
           



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message