By Date: <-- -->
By Thread: <-- -->

SimpleTagSupport invalid bodycontent JSP



This has been bugging me for a few days, so bear with me, I thought I'd try the list. I'm using SimpleTagSupport (I find it much easier than the JSP 1.2 interfaces). In my TLD I put "JSP" as the <bodycontent>, and Tomcat gives me an error (invalid body-content type (JSP).....). The only other options are tagdependent (I want JSP) and empty (I want a body content).

If I'm not supposed to use SimpleTag[Support] for tags with bodies, why do the interface and helper class have JSP body members (setJspBody in SimpleTag, and thus getJspBody in SimpleTagSupport)???

Thanks,
 Scott


--------------------------------------------------------------------- To start a new topic, e-mail: users (at) tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org For additional commands, e-mail: users-help (at) tomcat.apache.org