谢谢cocia(高亚)和gdsean(摇滚java)! 另外,再请教后续问题: 我用jsp调用javabean访问数据库,是用javabean wizard生成的,编译也通过了。但执行JSP程序操作“提交”(submit)键后,却出现:“Submit operation requires running web server”--the submit is invalid。 解决:Instead of clicking the Submit button from the View page of the document, right-click the file in the project view and choose Web Run to display the file in the Web View page. 我按上述方法进行不下去(right-click the file in the project view and choose Web Run to display the file in the Web View page),请指教?谢谢!
该例在weblogic下能正常运行的。
jbuder中包含了tomcat. weblogic是否有新装?
to Michael_zp(蟋蟀): jbuder中不包含了tomcat,已屏蔽. weblogic是新装的。 我在JB的左边tree窗口,右击bean组件|properties ->web run的servlet画勾“enable web run/debug from right-click menu"后。再右击bean组件可见“web run”,按键执行(submit),在web view内出现:“Unable to open location: Connection refused: connect ”错误。该执行的URL为:http://localhost:7001/servlet/mssqldbopen.opendb mssqldbopen.opendb为上述的bean组件。 请问:这样运行步骤是否正确?后续错误原因是什么?如何解决?
选weblogic就可以了,然后你按run绿色箭头
都会启动weblogic
另外,再请教后续问题:
我用jsp调用javabean访问数据库,是用javabean wizard生成的,编译也通过了。但执行JSP程序操作“提交”(submit)键后,却出现:“Submit operation requires running web server”--the submit is invalid。
解决:Instead of clicking the Submit button from the View page of the document, right-click the file in the project view and choose Web Run to display the file in the Web View page.
我按上述方法进行不下去(right-click the file in the project view and choose Web Run to display the file in the Web View page),请指教?谢谢!
weblogic是否有新装?
我在JB的左边tree窗口,右击bean组件|properties ->web run的servlet画勾“enable web run/debug from right-click menu"后。再右击bean组件可见“web run”,按键执行(submit),在web view内出现:“Unable to open location: Connection refused: connect ”错误。该执行的URL为:http://localhost:7001/servlet/mssqldbopen.opendb
mssqldbopen.opendb为上述的bean组件。
请问:这样运行步骤是否正确?后续错误原因是什么?如何解决?