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)