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.

How to pass Object using jsp:include param tag into another jsp

I am trying to send DTO Object from one jsp to another jsp using jsp:include tag. But it is …

java html jsp jstl jsp-tags
Spring MVC form:select Tag, multiple selections not binding correctly?

I am trying to create a form to edit an existing database row. I am using the Spring MVC form …

hibernate spring spring-mvc jsp-tags
Struts2 increment a previous set <s:set /> value

I'm working on JSPs with Struts2, I have to iterate on two lists, and change the background code of each &…

java jsp struts2 jsp-tags
JSP custom tag library (Unable to find setter method for the attribute)

I'm having trouble with a custom tag:- org.apache.jasper.JasperException: /custom_tags.jsp(1,0) Unable to find setter method …

jsp-tags
How to inject spring beans into a jsp 2.0 SimpleTag?

Currently my jsp 2.0 tags that need spring beans use this code: ac = WebApplicationContextUtils.getWebApplicationContext( servletContext); ac.getBeansOfType(MyRequestedClass.class); The …

java spring jsp jsp-tags
Spring form:input for number

I am using Spring's form:input as below : <form:input type="number" .....> in my jsp but when I …

html jsp jsp-tags spring-form
Can a JSP tag file access its calling JSP's PageContext?

If I do: <% pageContext.setAttribute("foo", "bar"); %> <custom:myTag/> it seems like I should be able …

java jsp el jsp-tags
Spring MVC tag interaction with custom tag

I have a JSP that is using Spring:form tags to bind controls to a command object. I would like …

spring spring-mvc jstl jsp-tags
Custom JSP tag - How do I get the body of the tag?

I have a custom jsp tag like this: <a:customtag> The body of the custom tag... More lines …

java jsp jakarta-ee jsp-tags
Equivalent to the deprecated <sec:authorize> ifNotGranted attribute

I would like to prevent an image having a link if a user does NOT have a certain role. e.…

jsp spring-security jsp-tags