-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oliver,
On 10/14/2010 12:24 PM, Oliver Siegmar wrote: > On Wednesday 13 October 2010 21:21:33 Christopher Schultz wrote: >> What do your taglib declarations look like? I've only used the JSTL a >> little bit, and I found that when you have the wrong taglib URL, things >> don't work properly. > > This is how I use JSTL core: > > <%...@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> That looks like the one that worked properly for me. I unfortunately know very little about the JSTL and it's interaction with POJOs. I would expect that value="${enum}" would somehow convert the value to a String for inclusion into the output stream, and calling EnumType.toString sounds like the right thing to do. Can you look at the translated .java file that comes from your sample .jsp and post what the JSP compiler has generated? This might be a bug, but I'm not really sure. What if the object is not an enum? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAky3TwoACgkQ9CaO5/Lv0PDsCwCgqJ0NM6aS0YADrzoHQhB+4ZYg 65kAoJQvuLUaPMjOBVhk2FED/TaLJpWA =M0y7 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org