<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for no-cache</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Thu, 04 Dec 2008 13:56:30 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>Stop page caching in J2EE</title>
	<link>http://www.bytemycode.com/snippets/snippet/161/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/161/comments/</comments>
	<pubDate>Mon, 06 Mar 2006 05:03:17 +0000</pubDate>
	<dc:creator>TimYates</dc:creator>
	<category>J2EE, JSP, no-cache</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/161/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Mon. Mar. 6th, 2006  5:03 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/161/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_scripter.gif" align="middle" class="icon" alt="Scripter" /> <a href="http://www.bytemycode.com/members/member/TimYates/" title="Scripter">TimYates</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/J2EE">J2EE</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JSP">JSP</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/no-cache">no-cache</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/161/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 4
			<p>This should stop your JSP page being cached by browsers and proxies.<br /><br />It tries to cover all bases, just stick it at the top of any JSP page.<br /><br />If your entire web application requires this, it would be much more economical to write a J2EE Filter, and run this code for each request before chaining on to the next filter..</p>
		]]>
	</description>
</item>
	</channel>
</rss>