Home > php教程 > php手册 > JAVA/JSP学习系列之五

JAVA/JSP学习系列之五

WBOY
Release: 2016-06-13 12:46:53
Original
1236 people have browsed it


一、运行前准备

建议了一个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)

source:php.cn
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template