当前位置: 技术问答>java相关
关于weblogic中注册servlet的问题,请大家帮忙......
来源: 互联网 发布时间:2014-12-31
本文导语: 我在安装完weblogic5.1以后,在目录c:weblogicmyserverservletclassesexamplesservlets下面,建立了一个servlet的文件,文件名为Jsp5_4_1a.class, 然后我在文件weblogic.properties里面注册该servlet文件,添加的语句如下,weblogic.httpd.register.jsp5_...
我在安装完weblogic5.1以后,在目录c:weblogicmyserverservletclassesexamplesservlets下面,建立了一个servlet的文件,文件名为Jsp5_4_1a.class,
然后我在文件weblogic.properties里面注册该servlet文件,添加的语句如下,weblogic.httpd.register.jsp5_4_1a=examples.servlets.Jsp5_4_1a,
然后重启动weblogic服务器,可是在浏览器地址栏中输入如下地址后,http://localhost:7001/jsp5_4_1a,却无法显示,提示出错信息如下:
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
不知是为什么,还请赐教,谢谢!
然后我在文件weblogic.properties里面注册该servlet文件,添加的语句如下,weblogic.httpd.register.jsp5_4_1a=examples.servlets.Jsp5_4_1a,
然后重启动weblogic服务器,可是在浏览器地址栏中输入如下地址后,http://localhost:7001/jsp5_4_1a,却无法显示,提示出错信息如下:
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
不知是为什么,还请赐教,谢谢!
|
编译运行通过