minmai的博客
minmai · 共 29 篇文章
spring 与 jfreechart兼容性问题
【转】spring问题--Unable to validate using XSD 问题描述 ERROR - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from ServletContext resource ; nested exception is javax.xml.parsers.ParserConfigurationException: Unable t…
2013-01-08 18:56 · spring · 评论(0)
eclipse 显示 空格 .回车符号,去掉相应的符号
这个是你的eclipse中设置的是让所有的空白(空格,TAB,和回车)显示出来,而显示的方式就是你所说的那样。 如果你不想要这样,你可以在eclipse中的菜单的window->preferences->General->Editors->Text Editors中的Show whitespace characters中的钩去掉就可以了。
2013-01-02 16:46 · eclipse · 评论(0)
关于List子类调用subList(int from,int end)出现类型转换异常
在写文本聚类算法中发现List子类在调用subList(int from,int end)函数时出现java.lang.ClassCastException: java.util.SubList cannot be cast to java.util.LinkedList异常,遂将这部分功能提出出来做测试,测试代码如下: public class TestJavaDemo{ public static void main(String args) { LinkedList<Integer> list=new LinkedList<Integer>(); for(int i=0;i<10;i+…
2013-01-02 14:18 · java · 评论(0)
input file 类型不同浏览器问题
input file 要修改类型 为了兼容不同浏览器 可以尝试: $("#file_cover_img").val(''); $("#cover_form").reset();
jqurey操作iframe
http://hi.baidu.com/51plan/item/8bd9bc942ca13ddb1a49df43
2012-09-17 18:45 · jquery · 评论(0)
php 文件上传配置
Apache+PHP环境上传大文件的相关配置选项 避免二次检索做无用功。 首先,需要根据允许上传的最大文件大小值(如32M),对php.ini中的如下参数进行配置: file_uploads = On ; Whether to allow HTTP file uploads upload_max_filesize = 32M ; Maximum allowed size for uploaded files post_max_size = 32M ; Maximum size of POST data that PHP will accept 其中,各个参数的实际含义很明显,参考上述php.…
2012-09-07 17:07 · php · 评论(0)