Easy to use Jakarta Taglibs
I just tried using Jakarta Taglibs. Taglibs are the custom JSP tag libraries referring to the implementation of JSTL. JSP Custom tag libraries and other projects fall into 4 categories as JCP Standardized Tag Libraries, Supported Tag Libraries, Tool extensions and Sandbox. Jakarta taglibs are part of “Supported Tag libraries”.
Some of the useful taglibs are DBTags, String, Mailer.
String–>
This taglib has been build on top of Commons Lang 2.0 This one provides basic functions to manipulate the strings as “upperCase, lowerCase, join, split.”
DB Tags–>
I found DB tags very friendly in terms of its use. We can use the custom tags from DBTags to establish a connection, to query a database and all other database related operations. I remembered my old days when I was used to write the code directly into the page for fetching data, populating on the using ASP, PHP. At that time there was no concept of MVC pattern and all. As I just mentioned on the same line DBTags are used.
Loading a JDBC driver, establishing a connection can be directly by writing a code in the JSP. The tags
Try out Jakarta Taglib. Its very simple and easy to use.
For more details do visit
http://www.jsptags.com/
http://jakarta.apache.org/taglibs/index.html
http://java.sun.com/products/jsp/jstl/index.jsp
I agree. However, an easier and more efficient way needs to be found out to use JSTL 1.1 along with Struts 1.2.4 in say Tomcat or JBoss. For example, in case I want to use