Results 1 to 2 of 2

Thread: <form:form> tag not processed in JSP

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    4

    Default <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. #2
    Join Date
    Jun 2009
    Posts
    4

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •