I find it really suprising (I hope I am not wrong here) that the JSTL doesn't give any tag-library for handling forms. Custom tags for forms are the _major_ importance and I don't see why this was omitted. Any web-application will need to deal with forms. Can someone comment ? Thanks, Tarun
I think you're right. I have had a quick look over the spec and do not see any form specific entries in there. Of course, you could just scoot over to jakarta.apache.org and grab an implementation from their library.
Its not what you do, its the way you say you've done it.
Originally posted by matt hooker: I think you're right. I have had a quick look over the spec and do not see any form specific entries in there. Of course, you could just scoot over to jakarta.apache.org and grab an implementation from their library.
I know I could, but I really wish that Sun really had come out with a complete specification. Without form-handling, it somehow seems only quarter-baked. At any rate, the tag-libs that are present in JSTL are pretty good and easier to use than their corresponding Struts counterparts.
When designing JSTL, we wanted to avoid tying it to a particular presentation technology; JSTL is not specific to HTML, WML, etc. Had XForms been more widely understood and solidified, the expert group might have added support for it in some fashion, but the timing wasn't right for JSTL 1.0. More generally, supporting HTML forms isn't really the job a general-purpose taglib; it's more a function of a particular framework (like Struts) that you might use to develop individual applications. Shawn
Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
Joined: Jan 23, 2002
Shawn, could you briefly describe how JSF relates to JSTL, if at all?