Announcement Announcement Module
Collapse
No announcement yet.
<form:form> tag not processed in JSP Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • <form:form> tag not processed in JSP

    I am evaluating Spring 2.5 for a project and am having trouble getting the <form:form> tag to render in a JSP. Here is a snippet from the JSP:

    Code:
    <form:form commandName="instSearch">
    </form:form>
    The generated HTML shows the same snippet.

    I have using spring 2.5 and have included the following in the JSP:

    Code:
    <%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    and the following in web.xml:

    Code:
    <taglib>
        <taglib-uri>/form</taglib-uri>
        <taglib-location>/WEB-INF/tld/spring-form.tld</taglib-location>
    </taglib>
    The TLD file is also being packaged correctly in the WAR.

    Not sure what more I need to do. Thanks in advance for any help.

  • #2
    Never mind. I am using tiles and I missed to declare the taglib in the body JSPs.

    Comment

    Working...
    X