HTTP Status 503 - Servlet WebAppProperties is currently unavailable?
我的系统是windows2000+tomcat4.0,tomcat运行正常,能执行表态页面,但不能执行jsp和serlet,一运行jsp和servlet就提示如下错误:
HTTP Status 503 - Servlet WebAppProperties is currently unavailable
The requested service (Servlet WebAppProperties is currently unavailable) is not currently available.
有说明说一定要把servlet.jar拷贝到tomcat-home\common\lib目录下,但我tomcat就根本没有common目录,我直接把servlet.jar拷贝到tomcat-home\lib目录下,并加到了classpath中去了,但还是这个问题。
web-inf\web.xml部分内容如下:
<servlet>
<servlet-name>WebAppProperties</servlet-name>
<servlet-class>servlet.WebAppProperties</servlet-class>
<init-param>
<param-name>name</param-name>
<param-value>jianggl20</param-value>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>123456</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>WebAppProperties</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>