摘要
由于目前JSP技术本身以及基于Java技术的某些开源软件的不完善,在Web程序设计过程中会出现很多问题,比如:JSP文件的中文乱码现象、数据库的中文乱码现象、文件名的乱码现象等。这些问题处理不好,会在很大程度上影响程序的开发与部署。针对目前构建Web程序常用到的环境Jdk+Tomcat5.0+MySqlserver5.1,对常见的几种中文乱码问题进行了讨论,并给出了相应问题的解决办法。
Because JSP technology itself and some based on Java technology of open-source software is not perfect,in Web programming process it could have many problems,such as: JSP file Chinese garbled phenomenon,filename garbled phenomenon etc.If we cannot deal with these problems,will significantly impact on program development and deployment.In view of the present environment of constructing Web programJdk+Tomcat5.0+ MySqlserver5.1,discussed several common Chinese garbled problems and provided the corresponding solutions to the problems.
出处
《电脑编程技巧与维护》
2011年第14期136-139,共4页
Computer Programming Skills & Maintenance