Develop WAP websites or encounter a lot of problems

zhaozj2021-02-16  78

The company needs to build a WAP website. This is hard to find information, find information online, watch WML, look for it. In actual development, there is still a lot of problems, and it is currently a small segment to summarize the summary.

Basic architecture: JSP WebLogic SQL Server (looks quite luxurious, learning to pull)

1. Configure ConnectionPool and DataSource, then test, discovery to always report an exception Caused by: java.sql.sqlexception: [Microsoft] [SQLServer 2000 Driver for JDBC] Can't Start A Cloned Connection While In Manual Transaction Mode. Because Commit Set to false, check the information, make modifications to the URL: JDBC: Microsoft: SQLServer: // localhost: 1433; user = test; password = secret; selectMethod = Cursor; problem solving. I don't know if I use the JDBC that comes with the BEA.

2. Deploy Web Application1:

There are two ways to deploy, one is to deploy packaging, that is, pack all files into .war, then put it under the directory, then deploy, so that the entire deployment is a compressed package, can't see the source code directly; second The deployment method is to create a directory structure and place it to the directory, then deploy the entire directory, so you can see the source code directly, or directly modify the source code;

3. Chinese characters pass issues, this is inherent, well resolved.

4. Cannot pass the session. That as long as the parameters are numb, it is so troublesome.

转载请注明原文地址:https://www.9cbs.com/read-14849.html

New Post(0)