jstl Tutorials, Tips & Tricks

How to Access Cookies in JSP Expression Language

How to Access Cookies in JSP Expression Language

Below snippet is just for your reference. We can print a cookie value on JSP page using JSP Expression language. The standard syntax to access Http Cookie value in JSP is: ${cookie.<cookie name>.value} So...

How to update JSTL Locale dynamically

How to update JSTL Locale dynamically

When you use JSTL format tag <fmt:formatDate> and <fmt:formatNumber>, JSTL automatically takes care of locale resolution. Depending on the browser’s locale setting JSTL will display the date and numbers. You may want to override...

Parsing RSS-XML using JSTL tag library

Parsing RSS-XML using JSTL tag library

RSS, or Really Simple Syndication, is a method of sharing and broadcasting content such as news from a website. Using XML, items such as news articles can be automatically downloaded into a News Reader...