龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > div+css/html >

[xml] xml ,xsl,css 之乱搞-(0)

时间:2012-12-29 08:41来源:未知 作者:admin 点击:
分享到:
做了一小段xml.与大家交流。 三个文件。(blue.xml blue.xsl blue.css )拷到本地同一目录下。 blue.xml: ?xml version='1.0' encoding='GB2312'? ?xml:stylesheet type='text/xsl' href='blue.xsl'? Topic Issue TopicId000001/To

做了一小段xml.与大家交流。
三个文件。(blue.xml blue.xsl blue.css )拷到本地同一目录下。

blue.xml:

<?xml version='1.0' encoding='GB2312'?>
<?xml:stylesheet type='text/xsl' href='blue.xsl'?>
<Topic>
  <Issue>
    <TopicId>000001</TopicId>
    <UserName>ycoe12</UserName>
    <RankName>超级用户</RankName>
    <TopicName>[JSP]Servlet中线程的问题</TopicName>
    <DateTime>2005-12-26 01:03:44</DateTime>
    <ReplyNum>2</ReplyNum>
    <ReadNum>68</ReadNum>
    <Content>请问一下怎样实现在Servlet里使用线程。比如用两线程,让一个线程与另一个线程通讯。
我的方法: implements Runnable 。生成后马上让它sleep。但是我不知道怎样让另一个线程在完成后通知此线程??(两个请求之间通讯)
我想在是通过检测HttpSession来判断另一个线程的进程的。但这样好像不太好。。。
谢谢</Content>
  </Issue>
<Replys>
  <Reply>
    <TopicID>000001</TopicID>
    <UserName>红色黑客</UserName>
    <RankName>经典杀手</RankName>
    <ReplyID>0001</ReplyID>
    <Content>这个应该用线程同步吧??</Content>
    <DateTime>2005-12-26 13:22:15</DateTime>
  </Reply>
  <Reply>
    <TopicId>000001</TopicId>
    <UserName>ycoe12</UserName>
    <RankName>超级用户</RankName> 
    <ReplyID>0002</ReplyID>
    <Content>不是,简单地说就是用一个线程完成后去通知另一个线程。。。不是,简单地说就是用一个线程完成后去通知另一个线程。。。不是,简单地说就是用一个线程完成后去通知另一个线程。。。</Content>
    <DateTime>2005-12-26 20:41:51</DateTime>
  </Reply>
</Replys>
</Topic>




<
精彩图集

赞助商链接