<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GrassField &#187; servlet</title>
	<atom:link href="http://blog.grassfield.org/category/programming/java/servlet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.grassfield.org</link>
	<description>Classroom notes on Java SE, EE &#38; ME</description>
	<lastBuildDate>Fri, 02 Jul 2010 06:29:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Filename in response</title>
		<link>http://blog.grassfield.org/2008/12/30/filename-in-response/</link>
		<comments>http://blog.grassfield.org/2008/12/30/filename-in-response/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 15:38:07 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[servlet]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/2008/12/30/filename-in-response/</guid>
		<description><![CDATA[

I was writing a servlet whose response is PDF, CSV, XLS etc. This works fine, but when I tried to save it HDD the url is given as the filename. I was wondering how to explicitly specify the filename. Here is the solution.

response.setHeader("Content-Disposition", "inline; filename=xyz.pdf" );

When we set this header property in the response, The [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2008/12/30/filename-in-response/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>https &#8211; Servlet &#8211; Attachment &#8211; IE not working</title>
		<link>http://blog.grassfield.org/2007/01/13/https-servlet-attachment-ie-not-working/</link>
		<comments>http://blog.grassfield.org/2007/01/13/https-servlet-attachment-ie-not-working/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 17:52:00 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[IE]]></category>
		<category><![CDATA[servlet]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://grassfield.org/blog/?p=12</guid>
		<description><![CDATA[Hi, I have a servlet which will send me PDF stream. It  is working good in IE and Firefox. When operating in secured mode (https), IE couldnt download the attachment. it stops in halfway. There were no exceptions thrown at the servlet end. Atlast, we found the line 
response.setHeader(&#8220;Pragma&#8221;, &#8220;no-cache&#8221;);
is the culprit. when we [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2007/01/13/https-servlet-attachment-ie-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chris Holland: The Blog.: ServletRequest.getParameter and UTF-8</title>
		<link>http://blog.grassfield.org/2006/09/26/chris-holland-the-blog-servletrequestgetparameter-and-utf-8/</link>
		<comments>http://blog.grassfield.org/2006/09/26/chris-holland-the-blog-servletrequestgetparameter-and-utf-8/#comments</comments>
		<pubDate>Tue, 26 Sep 2006 11:11:00 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[servlet]]></category>
		<category><![CDATA[unicode]]></category>

		<guid isPermaLink="false">http://grassfield.org/blog/?p=18</guid>
		<description><![CDATA[Chris Holland: The Blog.: ServletRequest.getParameter and UTF-8
]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2006/09/26/chris-holland-the-blog-servletrequestgetparameter-and-utf-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSP, Filter and Forward</title>
		<link>http://blog.grassfield.org/2006/08/24/jsp-filter-and-forward/</link>
		<comments>http://blog.grassfield.org/2006/08/24/jsp-filter-and-forward/#comments</comments>
		<pubDate>Thu, 24 Aug 2006 10:15:00 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[filter]]></category>
		<category><![CDATA[servlet]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://grassfield.org/blog/?p=26</guid>
		<description><![CDATA[Filters generally applied to corresponding requests. But when the request is forwarded from one servlet to another source, that will not be processed with Filter. (I checked with Tomcat  4.1). We need to add some more parameters with Filter mapping as noted below.
&#60;filter-mapping&#62;    &#60;filter-name&#62;VJFilterTest&#60;/filter-name&#62;   &#60;!&#8211;&#60;servlet-name&#62;VJServlet&#60;/servlet-name&#62;&#8211;&#62;    &#60;url-pattern&#62;/servlet/MyTest&#60;/url-pattern&#62; [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2006/08/24/jsp-filter-and-forward/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
