Announcement Announcement Module
Collapse
No announcement yet.
Spring SpEL in JSTL Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring SpEL in JSTL

    Hi,

    I am trying to add utility classes to my Spring MVC app that will allow me to print certain tags with certain
    properties in my JSTLs. I am trying to call a utility class to print generic string so I have

    Code:
    <%@taglib prefix="s" uri="http://www.springframework.org/tags" %>
    
    <s:eval expression="T(com.myapp.mvc.util).printText()" var="printText"/>
          ${printText}
    but there are no errors and nothing is getting printed out. Any ideas on why this might be?

    Thanks in advance for any help!
Working...
X