Home  >  Article  >  Backend Development  >  JAVA/JSP Learning Series 5_PHP Tutorial

JAVA/JSP Learning Series 5_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 16:11:39807browse


1. Preparation before operation

It is recommended to use a MS SQLServer7 database DNS named: Test_DB

There is a table in the database: guestbook fields are: name (varchar), email (varchar), body (text)

The database user is sa and the password is empty, which can be modified by yourself.

2. Code


3. How to run it?

Save the code as file test.jsp

Under Orion Application Server:

Copy to the default-web-app directory of orion, through:

http://localhost:port/test.jsp

Access test

For Resin, Tomcat, JWS, etc., it can all run and pass. (Source: viphot.com)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313873.htmlTechArticle1. Preparation before operation It is recommended to use a MS SQLServer7 database DNS named: Test_DB. There is a table in the database: guestbook The fields are: name(varchar),email(varchar),body(text) database...
Statement:
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