Showing posts with label How to replace jstl inplace of jsp code?. Show all posts
Showing posts with label How to replace jstl inplace of jsp code?. Show all posts

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/

Facebook comments