Home > php教程 > php手册 > body text

JAVA/JSP学习系列之五_php基础

WBOY
Release: 2016-05-17 09:13:32
Original
1921 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!