- 博客(5)
- 收藏
- 关注
在MAC下配置mysql数据库的编码问题
最近安装了[color=darkred]mac osx lion[/color]系统,然后安装了[color=darkred]mysql5.5.16[/color]版本的数据库进行开发,但是大家都知道,mysql的默认编码是[color=darkred]latin1[/color],如果存储中文的话就会出现乱码,然后就狂google这个问题,但是一直都没有解决,网上大部分的回答都是...
2011-10-07 11:38:57 138
原创 解决getOutputStream() has already been called for this response异常
今天在第一次接触使用“验证码”功能时,在执行时出现了异常信息: 严重: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response 。。。。 ...
2011-05-12 13:44:21 123
原创 tomcat web.xml配置
关于Tomcat 中 web.xml 文件的配置问题: 1.下面的配置是合法的 test test.MyServlet test /testServlet mee test.TestServlet ...
2011-05-06 14:25:44 109
原创 tomcat中mysql数据库连接池的配置
配置tomcat下的conf下的context.xml文件,在之间添加连接池如下: 配置你的应用下的web.xml中的之间加入: DB Connection jdbc/mysqlx javax.sql.DataSource Container 至此,mysql数据库连接池的配置完成!...
2011-05-05 18:40:53 303
原创 解决STRUTS2 错误 There is no Action mapped for namespace / and action name login
使用MyEclipse8.5 + tomcat6.0进行开发。 这是一个登录验证程序。 已经把structs资源包中的blank项目中的jar放到myeclipse的lib目录中 代码部分见下 错误信息 严重:[color=red] Could not find action or result [/color] [color=red]There is no Acti...
2011-05-05 18:29:56 242
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人