Results 1 to 2 of 2
  1. #1
    Freddie is offline Member
    Join Date
    May 2007
    Posts
    41
    Rep Power
    0

    Default Jsp and spring problems

    I am doing some test with Spring and I want to use jsp´s
    I have defined a jsp
    Java Code:
    <&#37;@ page session="false" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>


    Java Code:
    <bean id="viewResolver"
    class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="viewClass">
    <value>org.springframework.web.servlet.view.JstlView</value>
    </property>
    <property name="prefix">
    <value>/WEB-INF/jsp/</value>
    </property>
    <property name="suffix">
    <value>.jsp</value>
    </property>
    </bean>
    When I try to call the jsp I receive this error:
    -------------
    org.apache.jasper.JasperException: The absolute uri:
    JavaServer Pages Standard Tag Library cannot be resolved in either web.xml
    or the jar files deployed with this application
    org.apache.jasper.compiler.DefaultErrorHandler.jsp Error(DefaultErrorHandler.java:50)
    org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:407)
    org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:114)
    org.apache.jasper.compiler.TagLibraryInfoImpl.gene rateTLDLocation(TagLibraryInfoImpl.java:316)
    org.apache.jasper.compiler.TagLibraryInfoImpl.<ini t>(TagLibraryInfoImpl.java:147)
    org.apache.jasper.compiler.Parser.parseTaglibDirec tive(Parser.java:423)
    org.apache.jasper.compiler.Parser.parseDirective(P arser.java:492)
    org.apache.jasper.compiler.Parser.parseElements(Pa rser.java:1556)
    org.apache.jasper.compiler.Parser.parse(Parser.jav a:126)
    org.apache.jasper.compiler.ParserController.doPars e(ParserController.java:211)
    org.apache.jasper.compiler.ParserController.parse( ParserController.java:100)
    org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:155)
    org.apache.jasper.compiler.Compiler.compile(Compil er.java:295)
    org.apache.jasper.compiler.Compiler.compile(Compil er.java:276)
    org.apache.jasper.compiler.Compiler.compile(Compil er.java:264)
    org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:563)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:305)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
    org.springframework.web.servlet.view.InternalResou rceView.renderMergedOutputModel(InternalResourceVi ew.java:112)
    org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:249)
    org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1105)
    org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:841)
    org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:755)
    org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:396)
    org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:350)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:697)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)



    do you know what is it about?
    thank you
    fred-
    Last edited by Freddie; 06-01-2007 at 03:50 PM.

  2. #2
    Nick15 is offline Member
    Join Date
    May 2007
    Posts
    38
    Rep Power
    0

Similar Threads

  1. How to use Collection in Spring
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-29-2008, 01:45 PM
  2. Some information about spring
    By Albert in forum Web Frameworks
    Replies: 2
    Last Post: 07-02-2007, 05:08 PM
  3. Spring IDE for Eclipse 2.0
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 06-28-2007, 02:26 PM
  4. Spring live
    By Marty in forum Web Frameworks
    Replies: 1
    Last Post: 05-31-2007, 05:20 PM
  5. Spring IDE for Eclipse 2.0 M4
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-20-2007, 09:58 AM

Posting Permissions

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