Author: markt
Date: Thu Apr 9 11:46:13 2009
New Revision: 763611
URL: http://svn.apache.org/viewvc?rev=763611&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46909
The ';' should really only be used if there is a following parameter
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/Generator.java
Modified: tomcat/trunk/java/org/apache/jasper/compiler/Generator.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Generator.java?rev=763611&r1=763610&r2=763611&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Generator.java Thu Apr 9
11:46:13 2009
@@ -1574,8 +1574,7 @@
s0 = "<param name=\"type\""
+ makeAttr("value", "application/x-java-"
+ type
- + ";"
- + ((jreversion == null) ? "" : "version="
+ + ((jreversion == null) ? "" : ";version="
+ jreversion)) + '>';
out.printil("out.write(" + quote(s0) + ");");
out.printil("out.write(\"\\n\");");
@@ -1594,8 +1593,7 @@
s0 = "<EMBED"
+ makeAttr("type", "application/x-java-"
+ type
- + ";"
- + ((jreversion == null) ? "" : "version="
+ + ((jreversion == null) ? "" : ";version="
+ jreversion)) + makeAttr("name", name);
// s1 and s2 are the same as before.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]