January 04, 2013

JSTL : Java Standard Tag Library

Alternate Solution for JSP tags in JSTL




Jstl equivalent for ('<%=request.getParameter("id")%>') :: ${param.id} and ${param.["id"]}

Jstl equivalent for  session :: ${sessionScope.Object.variableName}


You need to add the jstl jar to your project, Before using the above codes

Download link

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

To know How to use jstl inside your web application click here

http://belazy.blog.com/

No comments:

Post a Comment

Your feedback may help others !!!

Facebook comments