File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL" Watch "JSTL" New topic
Author

JSTL

poorna chandran
Greenhorn

Joined: Apr 02, 2006
Posts: 7
JSTL
Pls friends reply me to this exception JSTL. im using jstl in tomcat 5.0.x and jdk1.5 following exception is arises.

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


root cause

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:573)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:433)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:291)
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:222)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:253)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:137)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


note The full stack trace of the root cause is available in the Tomcat logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.18
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

could you please post your jsp file (the part using JSTL) ?


[My Blog]
All roads lead to JavaRanch
Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 213
Hey friends , Me too i'm facing an error but a different error then above..

Here's the code which i m using..


I am using Tomcat 5.0.16 and j2sdk1.4.0 , Now here's the error.

org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: InputStream cannot be null.

What can be the reason ? Any help will be appreciated.


Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
poorna chandran
Greenhorn

Joined: Apr 02, 2006
Posts: 7
Originally posted by Satou kurinosuke:
could you please post your jsp file (the part using JSTL) ?


Pls Freind Find files here

http://www.ispacedesign.com/Jstl.zip
http://www.ispacedesign.com/Jstl.zip
poorna chandran
Greenhorn

Joined: Apr 02, 2006
Posts: 7
Originally posted by Satou kurinosuke:
could you please post your jsp file (the part using JSTL) ?


<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>Simple Example</title>
</head>
<body>

<c:set var="browser" value="${header['User-Agent']}"/>
<c ut value="${browser}"/>

</body>
</html>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL