Top "Jsp-tags" questions

JSP tags are a feature of Java Server Pages that allow the encapsulation of view-specific logic and separation of presentation and business concerns.

JSTL: iterate list but treat first element differently

I'm trying to process a list using jstl. I want to treat the first element of the list differently than …

java jstl jsp-tags
Using JavaScript within a JSP tag

I've seen this question regading the importing of js-files related to the tag content itself. I have a similar problem, …

javascript jsp jsp-tags
<c:foreach jsp iterate over list

I have searched several examples, still have not get. I am passing an List of GOOD object from controller into …

java jsp jsp-tags
What does the dollar curly brackets ${} mean in JSP?

What does ${} means in JSP? For example, <c:if test="${!empty cookie.lang}"> <fmt:setLocale value="${cookie.…

java jsp jstl jsp-tags
Java generics: get class of generic method's return type

Background I once wrote this method: private <T> SortedSet<T> createSortedSet() { return new TreeSet<T&…

java generics jsp-tags
JSTL Date comparison

I've seen some posts about date comparisons in JSTL, but I still can't get it to work. I have a …

jstl jsp-tags java.util.date
how can i call one jsp page to another jsp page

Hi I have one Jsp page and i want to call that jsp page in my another jsp page. for …

jsp jsp-tags jspinclude
Spring MVC <form:errors/> tag doesn't find error messages

I work with a front-end developer who writes JSP files. We have a form that is working correctly, except validation/…

jsp spring-mvc jsp-tags
How can I pass an object to a JSP tag?

I have a JSP page that contains a scriplet where I instantiate an object. I would like to pass that …

java jsp jsp-tags el
how to use <c:if> in jsp file. eclipse said it is unknown tag

I want to write a simple web page in .jsp file. I need to use <c:if> tag. …

jsp jstl jsp-tags jspinclude