刘政道 - 应用程序框架

《31天学会CRM项目开发(C#编程入门及项目实战)》作者,IT经理,程序员
  博客园  :: 新随笔  :: 联系 :: 管理
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页

2010年1月28日

摘要: org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278) 你提交的xml可能是utf-8格式,改成ascii格式。 阅读全文

posted @ 2010-01-28 16:37 刘政道 阅读(5032) 评论(0) 推荐(0)

2010年1月18日

摘要: 参见:http://www.ceapet.com/topic40.html 使用Richfaces有一段时间,发现,Richfaces比较慢,简单的一个页面也需要很长时间,有点让人望而生畏。 找了一些优化的文章,研究了研究,似乎有点效果。不管拥有无用,还是照做。 当然,也发现,用Firefox至少比IE或IE内核之类的浏览器快上N倍,不信,你试试。 在web.xml中要进行如下配置 代码 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --fil 阅读全文

posted @ 2010-01-18 10:52 刘政道 阅读(557) 评论(0) 推荐(1)

2010年1月13日

摘要: 转贴:http://www.ceapet.com/topic35.html Richfaces有很多控件,这些控件都都用于前台页面设计,一个xhtml网页设计好了,比如,我需要用户输入一个数值,然后我通过后台处理,将结果显示在页面上,这该怎么做呢? 这就需要javabean,通过java编写好java类,然后在faces-config.xml中配置好这个javabean。这样就可以处理数据了。javabean就是后台,或者说是动态的编程语言,类似php、asp、jsp等。 我们先设计一个login.xhtml页面,如下 [代码] 上面这个页面使用了名为login的javabean,有NAME_ 阅读全文

posted @ 2010-01-13 11:09 刘政道 阅读(673) 评论(0) 推荐(0)

2010年1月12日

摘要: 转贴:http://www.ceapet.com/topic34.html 能够看到Richfaces的卓越表现,的确让人兴奋,不过官方的Demo确实太大,如何在自己的项目中使用Richfaces呢?在本课中,将实现这一目标。 首先,在tomcat\webapps创建一个项目,目录格式如下: demo demo\index.jsp demo\index.xhtml demo\web-inf demo\web-inf\classes demo\web-inf\lib demo\web-inf\faces-config.xml demo\web-inf\web.xml index.jsp、inde 阅读全文

posted @ 2010-01-12 12:20 刘政道 阅读(659) 评论(0) 推荐(1)

2010年1月6日

摘要: 转载:http://www.ceapet.com/topic31.html Richfaces Demo在线演示地址:http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf Richfaces Demo下载地址:http://www.jboss.org/richfaces/demos.html 或直接点击http://download.jboss.com/jboss- richfaces/richfaces-demo-jsf2-3.3.3.BETA1-tomcat6.war下载 安装好Apache Tomcat 即可 阅读全文

posted @ 2010-01-06 19:25 刘政道 阅读(1882) 评论(0) 推荐(0)

上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页