Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
    Posts: 8
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    try putting it in common/lib and restart server
     
    Ellen Zhao
    Ranch Hand
    Posts: 581
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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 ]
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic