cant get .jsp working in apache tomcat 8
i cant get a JSP file loading in Apache tomcat v8, on eclipse its working fine 100%
i have these .jar files in the WEB-INF/lib both on eclipse and remote server apache
javax.servlet.jsp.jstl-1.2.1.jar
javax.servlet.jsp.jstl-api-1.2.1.jar
mysql-connector-java-5.1.25-bin.jar
HTTP Status 500 - 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
why does this work locally and not on my remote server using the exact same jar files?
web.xml @ this location /usr/share/apache-tomcat-8.0.15/webapps/ROOT/WEB-INF
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="xmlns.jcp.org/xml/ns/javaee";
xmlns:xsi="w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="xmlns.jcp.org/xml/ns/javaee xmlns.jcp.org/xml
/ns/javaee/web-app_3_1.xsd"; version="3.1" metadata-complete="true">
web.xml @this loc /usr/share/apache-tomcat-8.0.15/webapps/WEB-INF
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="java.sun.com/xml/ns/j2ee";
xmlns:xsi="w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="java.sun.com/xml/ns/j2ee java.sun.com/xml/ns/j2ee
/web-app_2_4.xsd"; version="2.4">
链接地址: http://www.djcxy.com/p/74766.html
上一篇: 在JSP中获取无法解析的错误