eclipse+mysql
少年风华正茂
我是一个IT小少年
origin:git@code.csdn.net:u011295626/projectly.git
展开
-
mysql中文乱码
今天,使用eclipse开发mysql的时候出现中文乱码。先说一下我的情况,所有eclipse文件的编码都是utf-8,数据库的新建时编码选utf8新建表的代码DROP TABLE IF EXISTS `lineinfo`;CREATE TABLE `lineinfo` ( `l_id` int(11) NOT NULL auto_increment, `l_nam原创 2016-04-04 23:35:19 · 245 阅读 · 0 评论 -
今天用到ajax5级联动,后台调用struts的action,这里只记录前台调用的代码
%>String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> "> success/js/jquer原创 2016-04-10 11:58:48 · 338 阅读 · 0 评论 -
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds
当启动tomcat时候出现 Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 的错误解决方案:修改 workspace\.m原创 2016-04-21 14:05:16 · 252 阅读 · 0 评论 -
SpringMVC中获取request对象的方式
在SpringMVC中获取request对象的几种方式1(注解法)@Autowiredprivate HttpServletRequest request;2.(直接法)public String hello(HttpServletRequest request,HttpServletResponse response) 3.(监听法)(1). 在web.x转载 2016-07-15 22:36:41 · 278 阅读 · 0 评论 -
Mybatis传多个参数
第一种方案 DAO层的函数方法 Public User selectUser(String name,String area);对应的Mapper.xml select * from user_user_t where user_name = #{0} and user_area=#{1}其中,#{0}代表接收转载 2016-07-15 23:26:19 · 233 阅读 · 0 评论 -
启动Eclipse时发生An internal error occurred during: "Initializing Java Tooling"错误,空指针异常
删除工作目录workspace下的.metadata/.plugins/org.eclipse.core.resources/.project,然后重新启动Eclipse,即可原创 2016-09-08 13:14:15 · 1210 阅读 · 0 评论