This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Which JSTL jar files for tomcat 5.5? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Which JSTL jar files for tomcat 5.5?" Watch "Which JSTL jar files for tomcat 5.5?" New topic
Author

Which JSTL jar files for tomcat 5.5?

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 243

I developed a projeect in JDeveloper11 it works fine,but when i try to deploy it on tomcat 5.5 web server it fails I am using JSTL 1.2 jar's in JDeveloper.IS they work in tomcat also please suggest the required jar files thaks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
http://www.coderanch.com/how-to/java/ElOrJstlNotWorkingAsExpected


Ping & DNS - my free Android networking tools app
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 243

Ok i understand when i try to load the file it shows some exception like class not found /.../el/..
......page context...(sorry for not posting the error)
I have fallowed the the rules given by ulf and place JSTL 1.1 taglib in My lib folder ..any other libraries are required?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60761
    
  65

mallikarjun don wrote:......page context...(sorry for not posting the error)

Without the exact error, we're flying blind.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 243

Sorry for that am i need any other jar files to execute the program properly
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60761
    
  65

How would we know unless you provide the error?
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 243

My web.xml file is loks like


I use in my jsp page
I am using tomcat 5.5
placed my MD folder in webapps like following stucture
MD
|_css
|_jsp's& html
|_web_inf
|_classes(folder compiled classes)
|_web.xml
|_lib (folder)


errerg.apache.jasper.JasperException: /studentinformation.jsp(5,0) According to TLD or attribute directive in tag file, attribute test does not accept any expressions
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:952)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:706)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222)
org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
org.apache.jasper.compiler.Validator.validate(Validator.java:1484)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

When i refresh the page it is showing the result
I am using Jstl1.1 ,standard,mysql jar files
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 243

Thanks for response i just solved my problem replacing correct URI
http://www.mularien.com/blog/2008/04/24/how-to-reference-and-use-jstl-in-your-web-application/
This help's me a lot ...bye
 
 
subject: Which JSTL jar files for tomcat 5.5?
 
Similar Threads
Tomcat 5.5(tried 6.0 as well)-JSTL 1.1 not resolved
Cannot import Taglib JSTL
Problem in JSTL
taglib directive
JSTL with Tomcat 6?