<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>ヤ哖少輕狂ご--Roger's ZOME - JSP/Servlet开发</title><link>http://blog.csdn.net/Lyddite_Luo/category/421377.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Fri, 21 Nov 2008 09:50:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>Roger</dc:creator><title>java标签--taglib 原理和实现</title><link>http://blog.csdn.net/Lyddite_Luo/archive/2008/11/21/3344102.aspx</link><pubDate>Fri, 21 Nov 2008 09:12:00 GMT</pubDate><guid>http://blog.csdn.net/Lyddite_Luo/archive/2008/11/21/3344102.aspx</guid><wfw:comment>http://blog.csdn.net/Lyddite_Luo/comments/3344102.aspx</wfw:comment><comments>http://blog.csdn.net/Lyddite_Luo/archive/2008/11/21/3344102.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/Lyddite_Luo/comments/commentRss/3344102.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3344102</trackback:ping><description>第一章:taglib 原理和实现1。问题：Tag究竟是什么？如何实现一个Tag？    一个tag就是一个普通的java类，它唯一特别之处是它必须继承TagSupport或者BodyTagSupport类。这两个类提供了一些方法，负 责jsp页面和你编写的类之间的交互，例如输入，输出。而这两个类是由jsp容器提供的，无须开发人员自己实现。换句话说，你只需把实现了业务逻辑的类继 承TagSupport或者BodyTagSupport，再做一些特别的工作，你的类就是一个Tag。并且它自己负责和jsp页面的交互，不用你多操 心。      “特别的工作”通常有以下几个步骤：  1）提供属性的set方法，此后这个属性就可以在jsp页面设置。以jstl标 签为例  ，这个value就是jsp数据到tag之间的入口。所以tag里面必须有一个 setValue方法，具体的属性可以不叫value。例如      setValue(String data){this.data = data;}&lt;img src ="http://blog.csdn.net/Lyddite_Luo/aggbug/3344102.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Roger</dc:creator><title>Java过滤器</title><link>http://blog.csdn.net/Lyddite_Luo/archive/2008/11/21/3344080.aspx</link><pubDate>Fri, 21 Nov 2008 09:05:00 GMT</pubDate><guid>http://blog.csdn.net/Lyddite_Luo/archive/2008/11/21/3344080.aspx</guid><wfw:comment>http://blog.csdn.net/Lyddite_Luo/comments/3344080.aspx</wfw:comment><comments>http://blog.csdn.net/Lyddite_Luo/archive/2008/11/21/3344080.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/Lyddite_Luo/comments/commentRss/3344080.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3344080</trackback:ping><description>servlet API中最重要的一个功能就是能够为servlet和JSP页面定义过滤器。过滤器提供了某些早期服务器所支持的非标准“servlet链接”的一种功能强大且标准的替代品。     过滤器是一个程序，它先于与之相关的servlet或JSP页面运行在服务器上。过滤器可附加到一个或多个servlet或JSP页面上，并且可以检查进入这些资源的请求信息。在这之后，过滤器可以作如下的选择：1. 以常规的方式调用资源（即，调用servlet或JSP页面）。2.利用修改过的请求信息调用资源。3. 调用资源，但在发送响应到客户机前对其进行修改4. 阻止该资源调用，代之以转到其他的资源，返回一个特定的状态代码或生成替换输出。过滤器提供了几个重要好处 ：        首先，它以&lt;img src ="http://blog.csdn.net/Lyddite_Luo/aggbug/3344080.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>MR.Luo</dc:creator><title>JSP/Servlet伪静态网页实现</title><link>http://blog.csdn.net/Lyddite_Luo/archive/2008/07/02/2603906.aspx</link><pubDate>Wed, 02 Jul 2008 09:16:00 GMT</pubDate><guid>http://blog.csdn.net/Lyddite_Luo/archive/2008/07/02/2603906.aspx</guid><wfw:comment>http://blog.csdn.net/Lyddite_Luo/comments/2603906.aspx</wfw:comment><comments>http://blog.csdn.net/Lyddite_Luo/archive/2008/07/02/2603906.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/Lyddite_Luo/comments/commentRss/2603906.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2603906</trackback:ping><description>jsp开发&lt;img src ="http://blog.csdn.net/Lyddite_Luo/aggbug/2603906.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>