为什么我的jsp网页打不开呢?
易点互联 2004-09-03 02:30:16 在manager里看到这个站点是关闭了
在server.xml里的配置是:
<Context path="/HelloJSP" reloadable="true" docBase="E:\Software\eclipse-SDK-2.1.2-win32\eclipse\workspace\HelloJSP" workDir="E:\Software\eclipse-SDK-2.1.2-win32\eclipse\workspace\HelloJSP\work"/>
web-inf里web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>test-JSP</display-name>
<description>
test first jsp
</description>
</web-app>
<web-app>
<!-- Database Config start -->
<resource-ref>
<description>connectDB test</description>
<res-ref-name>jdbc/connectDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<!-- Database Config end -->
</web-app>
请各位高手帮忙看看