This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes http: //java.sun.com/ jsp/jstl/core cannot be resolved Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "http: //java.sun.com/ jsp/jstl/core cannot be resolved" Watch "http: //java.sun.com/ jsp/jstl/core cannot be resolved" New topic
Author

http: //java.sun.com/ jsp/jstl/core cannot be resolved

Ellen Zhao
Ranch Hand

Joined: Sep 17, 2002
Posts: 581
am working on a MySQL + JDBC + JSP application.


my developing environment:

MySQL server 4.1 gamma
jakarta-tomcat-5.5.1 stable release
jakarta-taglibs-standard-1.1.1

when I load the jsp page, why forever and ever and ever, it says:

exception

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml




I did put these three files in the folder
/Tomcat 5.5/webapps/MyApplication/WEB-INF/lib/

  • jstl.jar
  • standard.jar
  • mysql-connector-java-3.0.15-ga-bin.jar


  • Any suggestion would be highly appreciated. Thank you very much in advance.



    Regards,
    Ellen
    Sagar J Jambhulkar
    Greenhorn

    Joined: Sep 10, 2004
    Posts: 8
    try putting it in common/lib and restart server


    Love Work and Bless All and you will be blessed by God<br />-----Sadguru Wamanrao Pai
    Ellen Zhao
    Ranch Hand

    Joined: Sep 17, 2002
    Posts: 581
    Thank Sagar!

    okay I just found out this machine doesn't have any CLASSPATH value set in the environment variables. I added the value %CATALINA_HOME%/common/lib/servlet-api.jar

    and restarted tomcat. It works!



    Regards,
    Ellen
    [ September 10, 2004: Message edited by: Ellen Zhao ]
     
    Consider Paul's rocket mass heater.
     
    subject: http: //java.sun.com/ jsp/jstl/core cannot be resolved
     
    Similar Threads
    c.tld: (line 2, col -1): Element type "taglib" is not declared?
    The absolute uri cannot be re
    Problem accessing the standard tag lib.
    JSTL not executing
    Include remote file, problems in setting up JSTL