LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   JSTL Standard Taglib (https://www.linuxquestions.org/questions/debian-26/jstl-standard-taglib-448238/)

cookie_ie 05-24-2006 07:44 PM

JSTL Standard Taglib
 
Hey, havent posted in a while. I am trying to deploy a web application. I am using Tomcat 5.x as a JSP container. When I try to load the jsp page, I get a 500 error. I know the code works as I was testing the app on Windows version and it works fine. The server I am deploying on is not under my control, is there any thing I can do to get it working?

Quote:

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

The above quote is the error I am getting, below is the code I am using. The tomcat server is running on debian.
If there is anything I am missing let me know, I would really like to get this working with taglibs, I would prefere it to scripting.
Below is a sample of what i am simply trying to do;
Code:

<%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<body>
<c:out value="test info here"/>
</body>
</html>


johnMG 06-07-2006 01:35 PM

Maybe tomcat is having trouble finding the jstl.jar file. Do you have one in your webapp's WEB-INF/lib directory? How about a WEB-INF/jstl-c.tld file?


All times are GMT -5. The time now is 04:45 PM.