<?xml-stylesheet type="text/xsl" href="http://www.livetechtalk.com/mofokariyo/weblog/rss/rssstyles.xsl"?>
<rss version='2.0'   xmlns:dc='http://purl.org/dc/elements/1.1/'>
    <channel xml:base='http://www.livetechtalk.com/mofokariyo/weblog/'>
        <title><![CDATA[MOLEKANE BOKHUTLO : Weblog]]></title>
        <description><![CDATA[The weblog for MOLEKANE BOKHUTLO, hosted on Live Tech Talk.]]></description>
        <generator>Elgg</generator>
        <link>http://www.livetechtalk.com/mofokariyo/weblog/</link>        
        <item>
            <title><![CDATA[]]></title>
            <link>http://www.livetechtalk.com/mofokariyo/weblog/78.html</link>
            <guid isPermaLink="true">http://www.livetechtalk.com/mofokariyo/weblog/78.html</guid>
            <pubDate>Thu, 16 Jul 2009 11:25:30 GMT</pubDate>
            <description><![CDATA[<p style="margin-left: 36pt; text-align: justify; text-indent: -18pt"  class="MsoNoSpacing"><span><span><span style="normal normal normal 7pt/normal 'Times New Roman'">&nbsp;</span></span></span><strong><span>What is the difference between RequestDispatche&rsquo;s forward(ServletRequest request, ServletResponse response) method and HttpServletResponse&rsquo;s sendRedirect(String location) method?</span></strong></p>]]></description>
        </item>
                
        <item>
            <title><![CDATA[]]></title>
            <link>http://www.livetechtalk.com/mofokariyo/weblog/77.html</link>
            <guid isPermaLink="true">http://www.livetechtalk.com/mofokariyo/weblog/77.html</guid>
            <pubDate>Thu, 16 Jul 2009 11:23:16 GMT</pubDate>
            <description><![CDATA[<p style="margin-left: 36pt; text-align: justify; text-indent: -18pt"  class="MsoNoSpacing"><span>Hi, is there any way to find out servlets&rsquo; last modified time in filter? I can&rsquo;t write any information to servlet context in ini() method of servlet. Filter must be independent of the servlet. There was method in servletconfig getServlet(), but now is deprecated. How to find out last modified time or when was servlet deployed in filter? Thanks</span></p>]]></description>
        </item>
                
        <item>
            <title><![CDATA[]]></title>
            <link>http://www.livetechtalk.com/mofokariyo/weblog/76.html</link>
            <guid isPermaLink="true">http://www.livetechtalk.com/mofokariyo/weblog/76.html</guid>
            <pubDate>Thu, 16 Jul 2009 11:22:20 GMT</pubDate>
            <description><![CDATA[<p style="margin-left: 36pt; text-align: justify; text-indent: -18pt"  class="MsoNoSpacing"><span>Can anyone offer me some tips on appending data to an xml file using jsp?</span></p>]]></description>
        </item>
                
        <item>
            <title><![CDATA[]]></title>
            <link>http://www.livetechtalk.com/mofokariyo/weblog/75.html</link>
            <guid isPermaLink="true">http://www.livetechtalk.com/mofokariyo/weblog/75.html</guid>
            <pubDate>Thu, 16 Jul 2009 11:21:13 GMT</pubDate>
            <description><![CDATA[<span style="font-size: 11pt; line-height: 115%; font-family: Calibri, sans-serif">How can I avoid making multiple HTTP calls for content that hasn&rsquo;t changed? Is it possible to cache it? Is there a way to set this in the header?</span>]]></description>
        </item>
                
        <item>
            <title><![CDATA[]]></title>
            <link>http://www.livetechtalk.com/mofokariyo/weblog/74.html</link>
            <guid isPermaLink="true">http://www.livetechtalk.com/mofokariyo/weblog/74.html</guid>
            <pubDate>Thu, 16 Jul 2009 11:18:16 GMT</pubDate>
            <description><![CDATA[<p style="margin-left: 36pt; text-align: justify; text-indent: -18pt"  class="MsoNoSpacing"><span><span>1)<span style="normal normal normal 7pt/normal 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span>I want to use Apache&rsquo;s Http Client to send http request headers. Can anyone take a look into my code and see if it is correct? (I am using msn&rsquo;s web site for testing purpose)</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>&nbsp;</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>String url=&rdquo;<a href="http://www.msn.com/">http://www.msn.com</a>&rdquo;;</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>HttpClient client = new HttpClient();</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>GetMethod get = new GetMethod(url);</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>&nbsp;</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>String etranAuthStr2 = &ldquo;test&rdquo;;</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>&nbsp;</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>get.setRequestHeader(&ldquo;CT_REMOTE_USER&rdquo;,&rdquo;SXYANGET&rdquo;);</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>get.setRequestHeader(&ldquo;ETRANAUTH&rdquo;, etranauthStr2);</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>&nbsp;</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>client.executeMethod(get);</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>&nbsp;</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>response.getWriter().print(get.getResponseBodyAsString().toString());</span></p>  <p style="margin-left: 36pt; text-align: justify; text-indent: 36pt"  class="MsoNoSpacing"><span>&nbsp;</span></p>  <p style="margin-left: 72pt; text-align: justify"  class="MsoNoSpacing"><span>I use a debugging tool called &ldquo;Fiddler&rdquo; to see the request headers being sent, and looks like the headers are not sending over, did I miss anything? Anyone has any idea?</span></p>]]></description>
        </item>
        
    </channel>
</rss>