zoukankan      html  css  js  c++  java
  • 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");

  • 相关阅读:
    HDU 1000 A + B Problem
    HDU 3635 Dragon Balls
    HDU 3461 Code Lock
    HDU 1856 More is better
    HDU 1198 Farm Irrigation
    HDU 1325 Is It A Tree?
    HDU 1001 Sum Problem
    HDU 1829 A Bug's Life
    HDU 2610 Sequence one
    HDU 3350 #define is unsafe
  • 原文地址:https://www.cnblogs.com/tianhengblogs/p/5316434.html
Copyright © 2011-2022 走看看