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.

Unknown tags and undefined functions in JSP fragments

I imported a web project build in JSP, which I am relatively new to. I got some errors in WEB-INF/…

java jsp jsp-tags jsp-fragments
Accessing Request object from custom JSP tags

I'm trying to make a set of custom tags that encapsulate form elements (markup and validation). There's a method given …

java jsp request jsp-tags
JSP Tag Files in subdirectories, using a single taglib prefix. Is that possible?

I currently have my .tag files declared with: <%@taglib prefix="t" tagdir="/WEB-INF/tags" %> Example of the path …

java jsp jsp-tags taglib
J2EE: Default values for custom tag attributes

So according to Sun's J2EE documentation (http://docs.sun.com/app/docs/doc/819-3669/bnani?l=en&a=…

java jakarta-ee jsp-tags custom-attributes
JSTL1.2 According to TLD or attribute directive in tag file, attribute var does not accept any expressions

I have been searching all over google for an answer and it doesn't work. I am getting this error: org.…

java maven jstl jsp-tags tomcat8
Effective way to handle singular/plural word based on some collection size

There are many instances in my work projects where I need to display the size of some collection in a …

java jsp jsp-tags
JSP tag file that either outputs its body or returns it in a variable

I have a custom tag in a ".tag" file that computes and outputs a value. Because I cannot post the …

jsp jsp-tags
JSP Tag Recursion

I am implementing a tree tag for one of my practice projects, where I would display the contents of a …

recursion jsp-tags
Spring message tag javascript escape

When we try to display a label from a properties file, using spring tags, we can write: <spring:message …

spring-mvc jsp-tags