随笔分类 -  J2EE

摘要:* 重新copy了一个web项目作为新项目,启动时候报错:Can't convert argument: null 经网上查,web.xml ,是由于在Eclipse下重构JEE项目名时,Eclipse自动更新了部署文件web.xml,重新生成了xml文件的头部声明,新增加了javaee的命名空间, 阅读全文
posted @ 2016-08-22 16:02 野鹤闲人 阅读(407) 评论(0) 推荐(0)
摘要:*1,获得InputStreambyte[] b =new byte[3];instream.read(b);instream.close();if(b[0,1,2]==(-17,-69,-65)){ 则为UTF-8}b[0,1,2]==(34,32,73),则为 Big5elseGBK,(其中断... 阅读全文
posted @ 2015-10-21 15:14 野鹤闲人 阅读(1410) 评论(0) 推荐(0)
摘要:**http://my.oschina.net/using/blog/1618862.22、客户端的地址所有的html页面中的相对地址都是相对于服务器根目录(http://192.168.0.1/)的,而不是(跟目录下的该Web应用的目 录) http://192.168.0.1/webapp/的。... 阅读全文
posted @ 2015-03-06 16:32 野鹤闲人 阅读(248) 评论(0) 推荐(0)
摘要:*web容器与servlet:http://www.360doc.com/content/10/0713/20/495229_38798294.shtml概念:http://developer.51cto.com/art/201005/201999.htm框架:http://developer.51... 阅读全文
posted @ 2015-01-18 15:21 野鹤闲人 阅读(361) 评论(0) 推荐(0)