﻿<?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-honzeland-随笔分类-Web</title><link>http://www.blogjava.net/honzeland/category/43474.html</link><description>记录点滴。。。</description><language>zh-cn</language><lastBuildDate>Fri, 22 Oct 2010 14:51:45 GMT</lastBuildDate><pubDate>Fri, 22 Oct 2010 14:51:45 GMT</pubDate><ttl>60</ttl><item><title>Servlet Mappings - rules, pattern....</title><link>http://www.blogjava.net/honzeland/archive/2010/10/22/335921.html</link><dc:creator>honzeland</dc:creator><author>honzeland</author><pubDate>Fri, 22 Oct 2010 14:41:00 GMT</pubDate><guid>http://www.blogjava.net/honzeland/archive/2010/10/22/335921.html</guid><wfw:comment>http://www.blogjava.net/honzeland/comments/335921.html</wfw:comment><comments>http://www.blogjava.net/honzeland/archive/2010/10/22/335921.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/honzeland/comments/commentRss/335921.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/honzeland/services/trackbacks/335921.html</trackback:ping><description><![CDATA[<a href="http://www.rawbw.com/~davidm/tini/TiniHttpServer/docs/ServletMappings.html">http://www.rawbw.com/~davidm/tini/TiniHttpServer/docs/ServletMappings.html</a>
<img src ="http://www.blogjava.net/honzeland/aggbug/335921.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/honzeland/" target="_blank">honzeland</a> 2010-10-22 22:41 <a href="http://www.blogjava.net/honzeland/archive/2010/10/22/335921.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Tomcat Architecture Diagram</title><link>http://www.blogjava.net/honzeland/archive/2010/05/10/320458.html</link><dc:creator>honzeland</dc:creator><author>honzeland</author><pubDate>Mon, 10 May 2010 02:39:00 GMT</pubDate><guid>http://www.blogjava.net/honzeland/archive/2010/05/10/320458.html</guid><wfw:comment>http://www.blogjava.net/honzeland/comments/320458.html</wfw:comment><comments>http://www.blogjava.net/honzeland/archive/2010/05/10/320458.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/honzeland/comments/commentRss/320458.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/honzeland/services/trackbacks/320458.html</trackback:ping><description><![CDATA[zz from http://marakana.com/forums/tomcat/general/106.html<br />
<br />
<img alt="" src="http://www.blogjava.net/images/blogjava_net/honzeland/Tomcat_Architecture-680x428.png" height="428" width="680" /><br />
Valve and Filter:<br />
"Valve" is Tomcat<a id="KonaLink0" target="undefined" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.velocityreviews.com/forums/t147502-anyone-know-the-difference-between-tomcat-valve-and-filter.html#"><font style="color: blue ! important; font-family: sans-serif; font-weight: 400; font-size: 13.3333px; position: static;" color="blue"></font></a> specific notion, and they get applied at a higher level than anything in a specific webapp. Also, they work only in Tomcat.<br />
<br />
"Filter" is a Servlet Specification notion and should work in any compliant servlet container. They get applied at a lower level than all of Tomcat's<br />
Valves.<br />
<br />
However, consider also the division between your application and the application&nbsp;
<a id="KonaLink2" target="undefined" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.velocityreviews.com/forums/t147502-anyone-know-the-difference-between-tomcat-valve-and-filter.html#"><font style="color: blue ! important; font-family: sans-serif; font-weight: 400; font-size: 13.3333px; position: static;" color="blue"></font></a>server. Think whether the feature you're planning is part of your application, or is it rather a generic feature of the application server, which could have uses in other applications as well. This would be the correct criteria to decide between Valve and Filter.<br />
<br />
Order for filter: The order in which they are
defined matters. The container will execute the filters in the order
in which they are defined.<br />
<img src ="http://www.blogjava.net/honzeland/aggbug/320458.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/honzeland/" target="_blank">honzeland</a> 2010-05-10 10:39 <a href="http://www.blogjava.net/honzeland/archive/2010/05/10/320458.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Web application design: the REST of the story</title><link>http://www.blogjava.net/honzeland/archive/2010/01/08/308718.html</link><dc:creator>honzeland</dc:creator><author>honzeland</author><pubDate>Fri, 08 Jan 2010 06:50:00 GMT</pubDate><guid>http://www.blogjava.net/honzeland/archive/2010/01/08/308718.html</guid><wfw:comment>http://www.blogjava.net/honzeland/comments/308718.html</wfw:comment><comments>http://www.blogjava.net/honzeland/archive/2010/01/08/308718.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/honzeland/comments/commentRss/308718.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/honzeland/services/trackbacks/308718.html</trackback:ping><description><![CDATA[From: <a title="Web application design: the REST of the story " href="http://www.findinglisp.com/blog/2004/11/web-application-design-rest-of-story.html">Web application design: the REST of the story </a><br />
Key points:<br />
<ul>
    <li>HTTP is a very general, scalable protocol. While most people only
    think of HTTP as including the GET and POST methods used by typical
    interactive browsers, HTTP actually defines several other methods that
    can be used to manipulate resources in a properly designed application
    (PUT and DELETE, for instance). The HTTP methods provide the <em>verbs</em> in a web interaction.</li>
    <li>Servers are completely stateless. Everything necessary to service a request is included by the client in the request.</li>
    <li>All application resources are described by unique URIs. Performing
    a GET on a given URI returns a representation of that resource's state
    (typically an HTML page, but possibly something else like XML). The
    state of a resource is changed by performing a POST or PUT to the
    resource URI. Thus, URIs name the <em>nouns</em> in a web interaction.</li>
</ul>
<br />
<br />
<img src ="http://www.blogjava.net/honzeland/aggbug/308718.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/honzeland/" target="_blank">honzeland</a> 2010-01-08 14:50 <a href="http://www.blogjava.net/honzeland/archive/2010/01/08/308718.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>