Develop WAP website, still encounter a lot of problems

Source: Internet
Author: User
Tags modify
Problem companies need to build a WAP site, this difficult to our programmers, the Internet to find information, see WML Find hands dry. In fact, there are still many problems in the development, and now a small section of the first summary summary.

Basic Architecture: Jsp+weblogic+sql Server (looks pretty luxurious, by the way learn to pull)

1. Configure ConnectionPool and DataSource, and then test to find always reporting an exception caused by:java.sql.SQLException: [Microsoft][sqlserver for Jdbc]can ' t start a cloned connection while in manual transaction mode. is because the commit is set to False, check the data, modify the URL: Jdbc:microsoft: Sqlserver://localhost:1433;user=test;password=secret; Selectmethod=cursor, problem solving. I wonder if the same problem would have been the case with Bea's own jdbc.

2. Deploy Web Application1:

There are two ways to deploy, one that is packaged in a deployment, that is, to package all the files into a. War, then put it under the directory, and then deploy it so that the entire deployment is a compressed
Package, can not directly see the source code;
The second way is to set up a directory structure directly after the directory, and then the entire directory deployment, so you can directly see the source code, you can directly modify the source code;

3. Chinese character transmission problem, this is JSP intrinsic, good to solve.

4. Cannot pass the session. So just pass the parameters, good trouble.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.