Announcement Announcement Module
Collapse
No announcement yet.
Using spring:bind on jsp Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using spring:bind on jsp

    I want to write some Java code on a jsp page using <%%> tags. What I'm wondering is how do I get to the bound object passed in by spring within the script block?

  • #2
    Oh the humanity!!! Found out that java is really picky about upper and lower casing. Apparently this: <%@taglib uri="http://www.springframework.org/tags" prefix="Spring"%>, will not render data using this: <spring:bind path="activeUser.name">.

    Note to other developers, when in doubt, checking your casing.

    :oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops:

    Comment

    Working...
    X