jstl-code.blogspot.com
JSTL: Request Parameters in JSTL
http://jstl-code.blogspot.com/2011/06/request-parameters-in-jstl.html
Thursday, June 23, 2011. Request Parameters in JSTL. Display All Request Parameters in JSTL. The following piece of JSTL. Code displays all request parameters on the page,. Except for check-boxes and radio-buttons. They require the use of the paramValues. C:forEach items="${param}" var="par" Parameter Name/Value : c:out value="${par.key} - ${par.value}"/ /c:forEach. To display session and request objects, use the following code:. Interface allows us to construct a sorted Map. Jsp:useBean id="sorter" clas...
jstl-code.blogspot.com
JSTL: March 2009
http://jstl-code.blogspot.com/2009_03_01_archive.html
Thursday, March 26, 2009. Generic JSTL Code That Displays Database Results. The following generic JSTL code displays database query results in a table irrespective of how many columns the ResultSet has. The table heading will contain column names. Variable holds the ResultSet. Subscribe to: Posts (Atom). Generic JSTL Code That Displays Database Results. View my complete profile.
jstl-code.blogspot.com
JSTL: JSTL Conditional Tags
http://jstl-code.blogspot.com/2009/08/jstl-conditional-tags.html
Tuesday, August 25, 2009. The when portion of the jsp page would look like this:. Input type=text value=' c:out value="${}"/ '. The tag would accept two arguments: year, and month. The tag should construct an instance of the Calendar class and make comparison to the current date. First of all, you need to extend the ChooseTag, so that it would be in your package. Import org.apache.taglibs.standard.tag.common.core.ChooseTag;. Public class DateChoose extends ChooseTag {. Import java.util.Calendar;. Return ...
jstl-code.blogspot.com
JSTL: Generic JSTL Code That Displays Database Results
http://jstl-code.blogspot.com/2009/03/generic-jstl-code-that-displays.html
Thursday, March 26, 2009. Generic JSTL Code That Displays Database Results. The following generic JSTL code displays database query results in a table irrespective of how many columns the ResultSet has. The table heading will contain column names. Variable holds the ResultSet. Subscribe to: Post Comments (Atom). Generic JSTL Code That Displays Database Results. View my complete profile.
jstl-code.blogspot.com
JSTL: JSTL Pagination
http://jstl-code.blogspot.com/2011/05/jstl-pagination.html
Tuesday, May 3, 2011. The following code can be used to paginate database query results using JSTL. The select statement results are stored in the queryResults. Variable. Here is the paginator code:. C:set var="totalCount" scope="session" value="${queryResults.rowCount}"/ c:set var="perPage" scope="session" value="20"/ c:set var="totalPages" scope="session" value="${totalCount/perPage}"/ c:set var="pageIndex" scope="session" value="${param.start/perPage 1}"/ c:if test="${! 0 }" a href="? How can I accomp...
jstl-code.blogspot.com
JSTL: June 2011
http://jstl-code.blogspot.com/2011_06_01_archive.html
Thursday, June 23, 2011. Request Parameters in JSTL. Display All Request Parameters in JSTL. The following piece of JSTL. Code displays all request parameters on the page,. Except for check-boxes and radio-buttons. They require the use of the paramValues. C:forEach items="${param}" var="par" Parameter Name/Value : c:out value="${par.key} - ${par.value}"/ /c:forEach. To display session and request objects, use the following code:. Interface allows us to construct a sorted Map. Jsp:useBean id="sorter" clas...
jstl-code.blogspot.com
JSTL: August 2009
http://jstl-code.blogspot.com/2009_08_01_archive.html
Tuesday, August 25, 2009. The when portion of the jsp page would look like this:. Input type=text value=' c:out value="${}"/ '. The tag would accept two arguments: year, and month. The tag should construct an instance of the Calendar class and make comparison to the current date. First of all, you need to extend the ChooseTag, so that it would be in your package. Import org.apache.taglibs.standard.tag.common.core.ChooseTag;. Public class DateChoose extends ChooseTag {. Import java.util.Calendar;. Return ...
jstl-code.blogspot.com
JSTL: May 2011
http://jstl-code.blogspot.com/2011_05_01_archive.html
Tuesday, May 3, 2011. The following code can be used to paginate database query results using JSTL. The select statement results are stored in the queryResults. Variable. Here is the paginator code:. C:set var="totalCount" scope="session" value="${queryResults.rowCount}"/ c:set var="perPage" scope="session" value="20"/ c:set var="totalPages" scope="session" value="${totalCount/perPage}"/ c:set var="pageIndex" scope="session" value="${param.start/perPage 1}"/ c:if test="${! 0 }" a href="?