MyEclipse------各种问题解决方法

1.汉化后如何变为英文版:
找到myeclipse.ini文件,改为:language=en
language=zh为中文

 

2.解决版本不匹配问题:http://blog.sina.com.cn/s/blog_7a0d9dca0100yelt.html
Attribute value request.getParameter("name") is quoted with " which must be
escaped when used within the value


3.抛出异常:java.lang.IllegalStateException: getOutputStream() has already been called for this response
解决方法:http://www.cnblogs.com/jorton/archive/2012/05/04/2482609.html

 

4.使用
path=request.getRealPath("");
//java.io.File d=new java.io.File(path);
File d=new File(path);
需要加上
<%@page import="java.io.*" %>
<%@page import="java.io.File" %>
<%@page import="com.jspsmart.upload.*" %>
<jsp:useBean id="the" scope="page" class="com.jspsmart.upload.SmartUpload"/>

 

5.问题:Can not issue data manipulation statements with executeQuery()

http://blog.csdn.net/cherishme1988/article/details/7399225

 

6.异常:java.lang.IllegalArgumentException: Control character in cookie value or attribute.

http://www.cnblogs.com/stansonwilliam/archive/2012/10/31/2748719.html

设置Cookie时,name=URLEncoder.encode(name,"UTF-8");

读取Cookie时,name=URLDecoder.decode(name,"UTF-8");

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值