一、运行前准备
建议了一个MS SQLServer7数据库 DNS,名称为:Test_DB
数据库中有一个表:guestbook字段为:name(varchar),email(varchar),body(text)
数据库用户为sa 密码空,可以自己修改的。
二、代码
三、怎么去运行?
将代码存为文件test.jsp
Orion Application Server下:
Copy到orion的default-web-app目录下,通过:
http://localhost:port/test.jsp
访问测试
对于Resin,Tomcat,JWS等等,都可以运行通过。(出处:viphot.com)
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn