larryi 01/09/10 06:04:30 Modified: src/share/org/apache/jasper/compiler TagBeginGenerator.java Log: Undo last commit because it isn't compliant with the JSP 1.1 spec. It also is inconsistent with the JSP 1.2 spec. In JSP 1.2, the spec defines the conversion to Object "As if new String(string-literal)". To call a setter with an actual object you will need to use "<%= obj %>" in both JSP 1.1 and JSP 1.2. Revision Changes Path 1.21 +0 -2 jakarta-tomcat/src/share/org/apache/jasper/compiler/TagBeginGenerator.java Index: TagBeginGenerator.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/TagBeginGenerator.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- TagBeginGenerator.java 2001/09/10 06:53:16 1.20 +++ TagBeginGenerator.java 2001/09/10 13:04:30 1.21 @@ -264,8 +264,6 @@ return Long.valueOf(s).toString() + "l"; } else if (c == Long.class) { return "new Long(" + Long.valueOf(s).toString() + "l)"; - } else if (c == Object.class) { - return writer.quoteString(s); } else { throw new CompileException (start, Constants.getString