﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-飞云小侠之Java视点-随笔分类-其他</title><link>http://www.blogjava.net/scud/category/3330.html</link><description>山谷里鸟语花香,溪水潺潺,我们住在这里</description><language>zh-cn</language><lastBuildDate>Tue, 27 Feb 2007 08:40:23 GMT</lastBuildDate><pubDate>Tue, 27 Feb 2007 08:40:23 GMT</pubDate><ttl>60</ttl><item><title>应用中常见的几种树(Tree)</title><link>http://www.blogjava.net/scud/archive/2006/03/20/36354.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Mon, 20 Mar 2006 08:07:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2006/03/20/36354.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/36354.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2006/03/20/36354.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/36354.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/36354.html</trackback:ping><description><![CDATA[<p>在企业管理系统以及大型网站系统中,经常用到树型结构,其实树型结构已经非常成熟了,有很多解决方案.<br /><br />下面贴一下我从几年前就开始使用的树型结构的图.<br /><br />下面的图都是使用WebFx 的树控件做成的,当然自己加了很多东西,在FireFox,IE下都可以工作<br /><br /><br />WebFx提供了两种Tree,下面的例子主要是使用了XTree,还有另外一种是XLoadTree. </p>
<p>更多详细信息请浏览 <a href="http://webfx.eae.net/dhtml/xloadtree/xloadtree.html">http://webfx.eae.net/dhtml/xloadtree/xloadtree.html</a>&nbsp; 和 <a href="http://webfx.eae.net/dhtml/xtree/index.html">http://webfx.eae.net/dhtml/xtree/index.html</a></p>
<p>不过作者已经很久没有更新这个控件了,虽然网站上很多其他控件还在更新&nbsp; <a href="http://webfx.eae.net">http://webfx.eae.net</a></p>
<p><strong>1.普通列表树</strong><br />&nbsp;支持无限多级节点<br />&nbsp;节点可以有链接,或者没有<br />&nbsp;节点可以设置支持Html,以支持css等<br />&nbsp;预先展开或者关闭<br />&nbsp;展开时在装载显示(大数量时使用,不过未经全面测试)<br /><br /><img alt="" src="http://www.blogjava.net/images/blogjava_net/scud/8700/o_treelist.jpg" /> <br />&nbsp;<br /></p>
<p><strong>2.多选树</strong><br />&nbsp;父子节点都可以被选择<br />&nbsp;父子节点设置是否有有效值<br />&nbsp;父节点选中:设置是否选择子节点<br />&nbsp;预先展开选中的值<br />&nbsp;显示文字和实际值不同<br />&nbsp;显示文字和实际文字可以不同<br />&nbsp;<br /><img alt="" src="http://www.blogjava.net/images/blogjava_net/scud/8700/o_multi_select.jpg" /> <br /><br />&nbsp;</p>
<p><strong>3.单选树&nbsp;<br /></strong>&nbsp;只要是valueNode,则都可以被选择<br />&nbsp;(其他同多选)<br />&nbsp;<br /><img alt="" src="http://www.blogjava.net/images/blogjava_net/scud/8700/o_single_mtree_select.jpg" />&nbsp;&nbsp;<br /><br /><br />以上三种都是使用同一个js控件做的,只是设置数据时有所不同.<br /><br />&nbsp;<br />&nbsp;<br />&nbsp;<br /><br /></p><img src ="http://www.blogjava.net/scud/aggbug/36354.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2006-03-20 16:07 <a href="http://www.blogjava.net/scud/archive/2006/03/20/36354.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JavaScud OpenSouce开源服务</title><link>http://www.blogjava.net/scud/archive/2006/02/27/32636.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Mon, 27 Feb 2006 06:12:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2006/02/27/32636.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/32636.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2006/02/27/32636.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/32636.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/32636.html</trackback:ping><description><![CDATA[<a href="http://www.javascud.org/">JavaScud OpenSouce</a>是一个为开源项目提供免费服务的网站.
<p>本站可为开源项目提供论坛栏目,Subversion,Wiki空间,项目网站等服务.</p>
<ul>
    <li>论坛使用Jive Forum,可以为开源项目提供论坛栏目用于技术讨论等. </li>
    <li>Wiki使用Confluence,可以为开源项目编写文档或者制作网站. </li>
    <li>版本控制使用Subversion 1.2,可以为开源项目提供版本控制服务. </li>
    <li>为开源项目提供网站空间,用于开发,演示.(Mysql,Php,Java). </li>
</ul>
<p>随着网站发展,我们还可以开发新的程序,申请新的组件,例如缺陷跟踪系统等.</p>
<p>目前已经申请的项目有:</p>
<ul>
    <li><a class="frdurl" href="http://www.tasian.net/" target="_blank">Tasian RCP FrameWork</a> </li>
    <li><a class="frdurl" href="http://wiki.javascud.org/display/dbhelper/" target="_blank">DBHelper ToolKit </a></li>
    <li><a class="frdurl" href="http://webwork.javascud.org/" target="_blank">WebWork2中文网站</a> </li>
    <li><a href="http://wiki.javascud.org/display/openminer" target="_blank">OpenMiner</a> </li>
    <li><a href="http://wiki.javascud.org/display/erwp" target="_blank">ERWinParser</a> </li>
    <li><a href="http://www.springside.org.cn" target="_blank">SpringSide 春分</a> </li>
</ul>
<p>欢迎开源项目的作者申请服务.</p>
<p>&nbsp;<strong>项目申请</strong>:可以发送邮件或到论坛发送悄悄话.详情请<a href="http://forum.javascud.org/thread.jspa?threadID=115" target="_blank">浏览这里</a>.</p>
<p>&nbsp;</p><img src ="http://www.blogjava.net/scud/aggbug/32636.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2006-02-27 14:12 <a href="http://www.blogjava.net/scud/archive/2006/02/27/32636.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Confluence导出中文pdf分析(&amp;FOP中文字体支持分析)</title><link>http://www.blogjava.net/scud/archive/2006/01/10/27380.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Tue, 10 Jan 2006 06:22:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2006/01/10/27380.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/27380.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2006/01/10/27380.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/27380.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/27380.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Confluence导出中文pdf分析, FOP中文字体支持分析&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2006/01/10/27380.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/27380.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2006-01-10 14:22 <a href="http://www.blogjava.net/scud/archive/2006/01/10/27380.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>mod_auth_mysql的SHA512支持/subversion使用系统的用户数据</title><link>http://www.blogjava.net/scud/archive/2005/12/11/23385.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Sun, 11 Dec 2005 13:51:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/12/11/23385.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/23385.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/12/11/23385.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/23385.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/23385.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: http://www.jscud.com/srun/news/viewhtml/3_2005_12/166.htm&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/12/11/23385.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/23385.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-12-11 21:51 <a href="http://www.blogjava.net/scud/archive/2005/12/11/23385.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>修改Apache 变量, 骗人玩</title><link>http://www.blogjava.net/scud/archive/2005/11/27/21587.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Sun, 27 Nov 2005 14:41:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/11/27/21587.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/21587.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/11/27/21587.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/21587.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/21587.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Apache 2.0 , apache 1.3.x变身骗人&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/11/27/21587.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/21587.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-11-27 22:41 <a href="http://www.blogjava.net/scud/archive/2005/11/27/21587.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>SubVersion定期完整备份脚本(Linux)</title><link>http://www.blogjava.net/scud/archive/2005/11/27/21586.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Sun, 27 Nov 2005 14:25:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/11/27/21586.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/21586.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/11/27/21586.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/21586.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/21586.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: SubVersion定期完整备份脚本(Linux)&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/11/27/21586.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/21586.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-11-27 22:25 <a href="http://www.blogjava.net/scud/archive/2005/11/27/21586.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Rss真是很爽啊</title><link>http://www.blogjava.net/scud/archive/2005/11/20/20652.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Sun, 20 Nov 2005 05:07:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/11/20/20652.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/20652.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/11/20/20652.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/20652.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/20652.html</trackback:ping><description><![CDATA[昨天把 <A href="http://webwork.javascud.org">http://webwork.javascud.org</A> 的首页又改了一下.<BR><BR>真正认识到rss的又一大威力,轻松地把别的网站的内容:包括我的个人网站和论坛的内容就拿过来了<BR><BR>太爽了,借助joomla的程序(其实很简单,就是解析rss) ,轻松地就把内容放在首页上了,除了美化的工作之外,没有作任何编码工作<BR><BR>爽!! 嘿嘿<BR><BR>唯一遗憾之处就是应该后台更新rss,然后前台程序读取就好了. 但是我也懒得改程序,先不管了<BR><BR><img src ="http://www.blogjava.net/scud/aggbug/20652.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-11-20 13:07 <a href="http://www.blogjava.net/scud/archive/2005/11/20/20652.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Mysql 日常备份和增量备份脚本(Linux) </title><link>http://www.blogjava.net/scud/archive/2005/11/01/17699.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Tue, 01 Nov 2005 10:43:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/11/01/17699.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/17699.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/11/01/17699.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/17699.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/17699.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: mysql备份脚本&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/11/01/17699.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/17699.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-11-01 18:43 <a href="http://www.blogjava.net/scud/archive/2005/11/01/17699.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Resin虚拟主机的java安全沙箱设置</title><link>http://www.blogjava.net/scud/archive/2005/10/27/17104.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Thu, 27 Oct 2005 12:45:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/10/27/17104.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/17104.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/10/27/17104.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/17104.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/17104.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 本文讲述如何设置resin虚拟主机的java安全沙箱.&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/10/27/17104.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/17104.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-10-27 20:45 <a href="http://www.blogjava.net/scud/archive/2005/10/27/17104.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Apache + Resin的java虚拟主机设置</title><link>http://www.blogjava.net/scud/archive/2005/10/27/17102.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Thu, 27 Oct 2005 12:19:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/10/27/17102.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/17102.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/10/27/17102.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/17102.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/17102.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 配置apache resin的虚拟主机&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/10/27/17102.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/17102.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-10-27 20:19 <a href="http://www.blogjava.net/scud/archive/2005/10/27/17102.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>vsftp的ascii设置和cgi脚本</title><link>http://www.blogjava.net/scud/archive/2005/10/17/15727.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Mon, 17 Oct 2005 08:53:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/10/17/15727.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/15727.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/10/17/15727.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/15727.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/15727.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: vsftpd的ascii设置和cgi脚本的关系&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/10/17/15727.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/15727.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-10-17 16:53 <a href="http://www.blogjava.net/scud/archive/2005/10/17/15727.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>wincvs 2.0 按本地时间显示时间</title><link>http://www.blogjava.net/scud/archive/2005/09/29/14461.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Thu, 29 Sep 2005 14:20:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/09/29/14461.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/14461.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/09/29/14461.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/14461.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/14461.html</trackback:ping><description><![CDATA[太好了<img src ="http://www.blogjava.net/scud/aggbug/14461.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-09-29 22:20 <a href="http://www.blogjava.net/scud/archive/2005/09/29/14461.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>读书摘抄－－面向对象设计的11个原则</title><link>http://www.blogjava.net/scud/archive/2005/09/26/14134.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Mon, 26 Sep 2005 10:15:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/09/26/14134.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/14134.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/09/26/14134.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/14134.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/14134.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 面向对象设计的11个原则&nbsp;&nbsp;<a href='http://www.blogjava.net/scud/archive/2005/09/26/14134.html'>阅读全文</a><img src ="http://www.blogjava.net/scud/aggbug/14134.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-09-26 18:15 <a href="http://www.blogjava.net/scud/archive/2005/09/26/14134.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Resin新版本和siteMesh水土不服?</title><link>http://www.blogjava.net/scud/archive/2005/09/21/13605.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Tue, 20 Sep 2005 22:48:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/09/21/13605.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/13605.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/09/21/13605.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/13605.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/13605.html</trackback:ping><description><![CDATA[租用的虚拟主机用的是resin, Server: Apache/1.3.33 (Unix) Resin/3.0.14 PHP/4.3.11<BR><BR>用sitemesh结果修饰页面总是有问题啊<BR>1.启动后页面第一次访问正确<BR>2.第二次后include的left和bottom页面内容没了,奇怪的是top的内容还在<BR><BR>现象:<BR>1.首页的bottom没了&nbsp; <A href="http://www.jscud.com/">http://www.jscud.com/</A><BR><BR>2.子页面的left,bottom没了&nbsp; ,例如 <A href="http://www.jscud.com/product/cnjira/">http://www.jscud.com/product/cnjira/</A>&nbsp;&nbsp;&nbsp; <A href="http://www.jscud.com/center/webwork/filedown.jsp">http://www.jscud.com/center/webwork/filedown.jsp</A>&nbsp;等等<BR>&nbsp;&nbsp;&nbsp; 但是部分子页面的left,bottom还在...太奇怪了<BR><BR>紧急求助啊........<BR><BR>注:在我机器上一切正常,就是服务器上不对啊<BR><BR>装饰页面类似如下:<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">&lt;%</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">@&nbsp;page&nbsp;contentType</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">text/html;&nbsp;charset=GB2312</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">&lt;%</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">@&nbsp;taglib&nbsp;uri</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">jscud</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;prefix</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">jscud</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">&lt;%</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">@&nbsp;taglib&nbsp;uri</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">http://www.opensymphony.com/sitemesh/decorator</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;prefix</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">decorator</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">html</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">head</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">meta&nbsp;</SPAN><SPAN style="COLOR: #ff0000">http-equiv</SPAN><SPAN style="COLOR: #0000ff">="Content-Language"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;content</SPAN><SPAN style="COLOR: #0000ff">="zh-cn"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">meta&nbsp;</SPAN><SPAN style="COLOR: #ff0000">http-equiv</SPAN><SPAN style="COLOR: #0000ff">="Content-Type"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;content</SPAN><SPAN style="COLOR: #0000ff">="text/html;&nbsp;charset=GB2312"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">JScud&nbsp;Develop&nbsp;--&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">decorator:title&nbsp;</SPAN><SPAN style="COLOR: #ff0000">default</SPAN><SPAN style="COLOR: #0000ff">="Welcome&nbsp;to&nbsp;JScud"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;&lt;/</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">link&nbsp;</SPAN><SPAN style="COLOR: #ff0000">href</SPAN><SPAN style="COLOR: #0000ff">="&lt;jscud:contextpath&nbsp;/&gt;/public/css/jscud.css"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;rel</SPAN><SPAN style="COLOR: #0000ff">="stylesheet"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;type</SPAN><SPAN style="COLOR: #0000ff">="text/css"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">decorator:head&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">head</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">body</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;global&nbsp;width&nbsp;</SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">table&nbsp;</SPAN><SPAN style="COLOR: #ff0000">border</SPAN><SPAN style="COLOR: #0000ff">="2"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;width</SPAN><SPAN style="COLOR: #0000ff">="778"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;&nbsp;&nbsp;cellspacing</SPAN><SPAN style="COLOR: #0000ff">="0"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;bgcolor</SPAN><SPAN style="COLOR: #0000ff">="#f0f0f0"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;bordercolorlight</SPAN><SPAN style="COLOR: #0000ff">="#f0f0f0"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;bordercolordark</SPAN><SPAN style="COLOR: #0000ff">="#f0f0f0"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;align</SPAN><SPAN style="COLOR: #0000ff">=center</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td&nbsp;</SPAN><SPAN style="COLOR: #ff0000">width</SPAN><SPAN style="COLOR: #0000ff">="100%"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;height</SPAN><SPAN style="COLOR: #0000ff">="5"</SPAN><SPAN style="COLOR: #0000ff">&gt;&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td&nbsp;</SPAN><SPAN style="COLOR: #ff0000">width</SPAN><SPAN style="COLOR: #0000ff">="100%"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">table&nbsp;</SPAN><SPAN style="COLOR: #ff0000">border</SPAN><SPAN style="COLOR: #0000ff">="0"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;cellpadding</SPAN><SPAN style="COLOR: #0000ff">="0"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;cellspacing</SPAN><SPAN style="COLOR: #0000ff">="0"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;width</SPAN><SPAN style="COLOR: #0000ff">="100%"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">tr&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td&nbsp;</SPAN><SPAN style="COLOR: #ff0000">width</SPAN><SPAN style="COLOR: #0000ff">="100%"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">jsp:include&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #ff0000">page</SPAN><SPAN style="COLOR: #0000ff">="/public/include/top.jsp"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;flush</SPAN><SPAN style="COLOR: #0000ff">="true"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;body&nbsp;</SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">decorator:body&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;body&nbsp;end&nbsp;</SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td&nbsp;</SPAN><SPAN style="COLOR: #ff0000">width</SPAN><SPAN style="COLOR: #0000ff">="100%"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;height</SPAN><SPAN style="COLOR: #0000ff">=5</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">table</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">table</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;<BR>&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">jsp:include&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #ff0000">page</SPAN><SPAN style="COLOR: #0000ff">="/public/include/bottom.jsp"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;flush</SPAN><SPAN style="COLOR: #0000ff">="true"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">body</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">html</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN></DIV><BR><img src ="http://www.blogjava.net/scud/aggbug/13605.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-09-21 06:48 <a href="http://www.blogjava.net/scud/archive/2005/09/21/13605.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[翻译]DWR总体介绍:在JAVA中轻松使用AJAX</title><link>http://www.blogjava.net/scud/archive/2005/08/31/11619.html</link><dc:creator>scud(飞云小侠)</dc:creator><author>scud(飞云小侠)</author><pubDate>Wed, 31 Aug 2005 04:13:00 GMT</pubDate><guid>http://www.blogjava.net/scud/archive/2005/08/31/11619.html</guid><wfw:comment>http://www.blogjava.net/scud/comments/11619.html</wfw:comment><comments>http://www.blogjava.net/scud/archive/2005/08/31/11619.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.blogjava.net/scud/comments/commentRss/11619.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/scud/services/trackbacks/11619.html</trackback:ping><description><![CDATA[<P>DWR在今天正式发布了1.0版本.(2005-8-30) 网址是 <A href="http://getahead.ltd.uk/" target=_blank>http://getahead.ltd.uk/</A></P>
<P><BR>&nbsp;本文翻译自<A href="http://getahead.ltd.uk/dwr/overview/dwr" target=_blank>http://getahead.ltd.uk/dwr/overview/dwr</A>,时间为2005-8-30.<BR>&nbsp;本文有些地方翻译的很不流畅,敬请原谅. 原文附在后面. :)</P>
<P><BR>&nbsp;</P>
<P>&nbsp;&nbsp;&nbsp; DWR是一个开源的类库,可以帮助开发人员开发包含AJAX技术的网站.它可以允许在浏览器里的代码使用运行在WEB服务器上的JAVA函数,就像它就在浏览器里一样.<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 它包含两个主要的部分:允许JavaScript从WEB服务器上一个遵循了AJAX原则的Servlet(小应用程序)中获取数据.另外一方面一个JavaScript库可以帮助网站开发人员轻松地利用获取的数据来动态改变网页的内容.<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; DWR采取了一个类似AJAX的新方法来动态生成基于JAVA类的JavaScript代码.这样WEB开发人员就可以在JavaScript里使用Java代码就像它们是浏览器的本地代码(客户端代码)一样;但是Java代码运行在WEB服务器端而且可以自由访问WEB 服务器的资源.出于安全的理由,WEB开发者必须适当地配置哪些Java类可以安全的被外部使用.<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 这个从JAVA到JavaScript的远程功能方法给DWR的用户带来非常像传统的RPC机制,就像RMI或者SOAP一样,而且拥有运行在WEB上但是不需要浏览器插件的好处.<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; DWR不认为浏览器/WEB服务器协议是重要的,而更乐于保证编程界面的简单自然.对此最大的挑战就是把AJAX的异步特性和正常JAVA方法调用的同步特性相结合.在异步模式下,结果数据在开始调用之后的一段时间之后才可以访问.DWR解决了这个问题,允许WEB开发人员使用一个特殊的方法参数来指定一个函数,以便在数据返回后来回调此函数.<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 下面的这个图展示了DWR如何利用一些类似JavaScript的onclick等事件的结果来改变一个下拉框列表的内容.这个事件处理器调用一个DWR生成的JavaScript函数,它和服务器端的Java函数是匹配的.DWR接着处理了JAVA和JavaScript之间的所有远程信息,包括转换所有的参数和返回需要的值.接着DWR执行了相应的回调函数(populateList).这个例子演示了如何使用DWR功能函数来改变网页内容.<BR><IMG height=281 alt=dwr_howitworks.jpg src="http://www.blogjava.net/images/blogjava_net/scud/dwr/dwr_howitworks.jpg" width=521 border=0><BR>&nbsp;DWR通过提供一些JavaScript函数库来帮助处理DHTML,并提供了一套可以直接复制的例子,通过这些可以帮助你生成具有良好交互性的网站.<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 如果想了解如何开始使用DWR,请浏览 "入门指导" <A href="http://getahead.ltd.uk/dwr/getstarted" target=_blank>http://getahead.ltd.uk/dwr/getstarted</A>和访问下载页面<A href="http://getahead.ltd.uk/dwr/download" target=_blank>http://getahead.ltd.uk/dwr/download</A>.<BR></P><img src ="http://www.blogjava.net/scud/aggbug/11619.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/scud/" target="_blank">scud(飞云小侠)</a> 2005-08-31 12:13 <a href="http://www.blogjava.net/scud/archive/2005/08/31/11619.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>