Results 1 to 3 of 3

Thread: Servlet API 2.3

  1. #1
    myobject is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Default Servlet API 2.3

    My project is setup with jstl version is 1.1.2 and jsp api server 2.0. Now I tried to run the application on tomcat 4 with servlet api 2.3.


    That is causing the following errors:

    Servlet.service() for servlet jsp threw exception

    org.apache.jasper.jasperException: /tilespages/core/core.jsp This absolute uri (ttp://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application

    core.jsp

    <%@ taglib uri="http:/jva.sun.com/jstl/core" prefix="c"%>

    What might be the issue? Do I need to use jstl version 1.0. If that is, what jar files should be updated?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,812
    Rep Power
    25

    Default

    /tilespages/core/core.jsp This absolute uri
    Where did this URI come from?

    Your posting has several typos in it. Its better if you copy and paste the error text rather than typing it in.

  3. #3
    myobject is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Default

    Here is the complete error log:

    Here is the complete error log.

    2008-10-05 21:43:14 ApplicationDispatcher[/simplepub5] Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /myjsp/core.jsp(4,0) This absolute htp://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
    at org.apache.jasper.compiler.DefaultErrorHandler.jsp Error(DefaultErrorHandler.java:49)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:383)
    at org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:81)
    at org.apache.jasper.compiler.Parser.processIncludeDi rective(Parser.java:265)
    at org.apache.jasper.compiler.Parser.parseIncludeDire ctive(Parser.java:298)
    at org.apache.jasper.compiler.Parser.parseDirective(P arser.java:336)
    at org.apache.jasper.compiler.Parser.parseElements(Pa rser.java:749)
    at org.apache.jasper.compiler.Parser.parse(Parser.jav a:77)
    at org.apache.jasper.compiler.ParserController.parse( ParserController.java:159)
    at org.apache.jasper.compiler.ParserController.parse( ParserController.java:111)
    at org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:185)
    at org.apache.jasper.compiler.Compiler.compile(Compil er.java:355)
    at org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:427)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:142)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:240)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:187)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:628)
    at org.apache.catalina.core.ApplicationDispatcher.doI nclude(ApplicationDispatcher.java:519)
    at org.apache.catalina.core.ApplicationDispatcher.inc lude(ApplicationDispatcher.java:449)
    at org.apache.jasper.runtime.JspRuntimeLibrary.includ e(JspRuntimeLibrary.java:766)
    at org.apache.jasper.runtime.PageContextImpl.include( PageContextImpl.java:359)
    at neo.taglib.template.CallTemplateTag.doEndTag(CallT emplateTag.java:131)
    at org.apache.jsp.index_jsp._jspx_meth_TEMPLATE_call_ 0(index_jsp.java:170)
    at org.apache.jsp.index_jsp._jspService(index_jsp.jav a:93)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:162)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:240)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:187)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:199)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:145)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:955)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:139)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:955)
    at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:2460)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:133)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
    at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatcherValve.java:119)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:594)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:594)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:955)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:127)
    at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext(StandardPipeline.j ava:596)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:433)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:955)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(Co yoteAdapter.java:157)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:534)

Similar Threads

  1. servlet
    By IsaacDura in forum Java Servlet
    Replies: 2
    Last Post: 11-11-2008, 02:16 PM
  2. Replies: 0
    Last Post: 08-30-2008, 12:52 PM
  3. Servlet vs PHP
    By biswajyoti in forum Java Servlet
    Replies: 1
    Last Post: 07-10-2008, 12:08 AM
  4. help in servlet
    By thamizhisai in forum Advanced Java
    Replies: 4
    Last Post: 05-20-2008, 07:10 AM
  5. Replies: 1
    Last Post: 08-07-2007, 04:47 PM

Posting Permissions

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