February 23, 2004

Little inconsistency in tag files

Our new application/module will be deployed under Tomcat 5 or any other suitable JSP 2.0 container1 so we get to use tag files. They’re fairly handy but one thing (so far) is pretty annoying. You declare inbound information via attribute tags and outbound information via variable tags. The default class for each is java.lang.String, which is fine – normally webapps just sling around strings. But to change the default class you set the type attribute in attribute and the variable-class for variable. Huh? Didn’t anyone use this before implementing it?

1 Yes, Tomcat. Get over it.

Next: Resolved: Word blows
Previous: I18N/L10N ramblings