Announcement Announcement Module
Collapse
No announcement yet.
spring-form & web-app version 2.3 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring-form & web-app version 2.3

    Hi,

    I am trying to use spring-form in a 2.3 web-app. If I add:

    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>


    to my JSP then I get an NullPointerException when I try to compile this JSP.

    I am using Tomcat 4.1.27 & Java 5 & spring 2.5 for my app. I have added this to web.xml:

    <taglib>
    <taglib-uri>http://www.springframework.org/tags/form</taglib-uri>
    <taglib-location>/WEB-INF/spring-form.tld</taglib-location>
    </taglib>

    & the tld file is present within WEB-INF.

    If I remove the tag-lib declaration from the JSP it compiles fine (without the form tags obviously).

    Any ideas?

    It won't be possible to upgrade tomcat but I guess spring-form should work with a 2.3 web-app, right?


    Thanks in advance,

    Kevin.
    Last edited by killerlfc; May 14th, 2008, 08:50 AM.
Working...
X