Announcement Announcement Module
Collapse
No announcement yet.
Spring-MVC-step-by-step Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring-MVC-step-by-step

    Hi All,
    I just started working on Spring frame work.I found step-by-step
    tutorial by Thomas Risberg(http://www.springframework.org/docs/...p-by-step.html)
    while searching in the google. I was easily able to run the examples in Part-1,but i got some JSTL related issues in part-2. In part-2 at step 14 it was complaining about
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

    it did not find http://java.sun.com/jstl/core.
    I got rid of this error by copying the c.tld and
    fmt.tld in WEB-INF directory and also configuring
    the web.xml
    (added <taglib>
    <taglib-uri/WEB-INF/c.tld</taglib-uri>
    <taglib-location/WEB-INF/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri/WEB-INF/fmt.tld</taglib-uri>
    <taglib-location/WEB-INF/fmt.tld</taglib-location>
    </taglib>
    )

    but in step-15 Decouple the view and the controller i got the following error

    javax.servlet.ServletException: Error occured during request processing:
    javax/servlet/jsp/jstl/fmt/LocalizationContext
    org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:724)
    org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:625)
    Iam downloaded all the software versions same as Thomas Risberg has Used

    Could anybody tell if iam doing anything doing wrong?



    Thanks
    Sandi

  • #2
    hai sandi
    Try to add jstl.jar and standard.jar in the application lib folder.Then what IDE r u using.IF Nitrox try to remove the version in <web-app> tag in web.xml.

    add the doctype properly in the xml.

    All the best
    Aniesh U.K

    Comment

    Working...
    X