<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/JSP</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 15:40:42 GMT</pubDate>
<item>
<title>(Java) Refire a real HTTP request on the server... - octaviannitagmailcom</title>
<link>http://snipplr.com/view/69986/refire-a-real-http-request-on-the-server/</link>
<description><![CDATA[ <p>... instead of loading the page from browser's cache: instruct the browser not to cache the pages by adding the following headers to the response

See also: http://stackoverflow.com/questions/49547/making-sure-a-web-page-is-not-cached-across-all-browsers</p> ]]></description>
<pubDate>Mon, 18 Feb 2013 21:52:42 GMT</pubDate>
<guid>http://snipplr.com/view/69986/refire-a-real-http-request-on-the-server/</guid>
</item>
<item>
<title>(HTML) Print request details in JSP - ejboy</title>
<link>http://snipplr.com/view/51737/print-request-details-in-jsp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 08 Apr 2011 00:39:56 GMT</pubDate>
<guid>http://snipplr.com/view/51737/print-request-details-in-jsp/</guid>
</item>
<item>
<title>(Java) JSP Display headers in a jsp page - kingd9</title>
<link>http://snipplr.com/view/48912/jsp-display-headers-in-a-jsp-page/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Feb 2011 00:36:39 GMT</pubDate>
<guid>http://snipplr.com/view/48912/jsp-display-headers-in-a-jsp-page/</guid>
</item>
<item>
<title>(Java) proxy.jsp - bcmoney</title>
<link>http://snipplr.com/view/45552/proxyjsp/</link>
<description><![CDATA[ <p>Source of inspiration was the Proxy deployed as part of GeoDashViewer:
http://trac2.assembla.com/alegia/browser/GeoDashViewer/WebContent/proxy.jsp?rev=341

As well as the idea from:
http://vsingleton.blogspot.com/2006/12/simple-jsp-soap-proxy.html

After posting, saw something very similar blogged about here:
https://www.codemagi.com/blog/post/190

And here: http://rrao.host.adobe.com/kannan/JSPProxyScript.jsp.txt</p> ]]></description>
<pubDate>Fri, 10 Dec 2010 09:35:10 GMT</pubDate>
<guid>http://snipplr.com/view/45552/proxyjsp/</guid>
</item>
<item>
<title>(Java) Print all ServletRequest attributes in a JSP page - mindhaq</title>
<link>http://snipplr.com/view/44314/print-all-servletrequest-attributes-in-a-jsp-page/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 18 Nov 2010 00:53:24 GMT</pubDate>
<guid>http://snipplr.com/view/44314/print-all-servletrequest-attributes-in-a-jsp-page/</guid>
</item>
<item>
<title>(Java) show cookies - antoinet</title>
<link>http://snipplr.com/view/42630/show-cookies/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Oct 2010 01:16:46 GMT</pubDate>
<guid>http://snipplr.com/view/42630/show-cookies/</guid>
</item>
<item>
<title>(Java) Parameterized Component Reference Struts2 - ff1959</title>
<link>http://snipplr.com/view/42014/parameterized-component-reference-struts2/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 11 Oct 2010 02:29:00 GMT</pubDate>
<guid>http://snipplr.com/view/42014/parameterized-component-reference-struts2/</guid>
</item>
<item>
<title>(Regular Expression) RegEx Regular Expression to match < > java doc tags in JSP (liferay) - brandonjp</title>
<link>http://snipplr.com/view/37835/regex-regular-expression-to-match---java-doc-tags-in-jsp-liferay/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 24 Jul 2010 02:17:40 GMT</pubDate>
<guid>http://snipplr.com/view/37835/regex-regular-expression-to-match---java-doc-tags-in-jsp-liferay/</guid>
</item>
<item>
<title>(Java) Simple JSP Redirect - jonahlyn</title>
<link>http://snipplr.com/view/21659/simple-jsp-redirect/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 22 Oct 2009 17:39:31 GMT</pubDate>
<guid>http://snipplr.com/view/21659/simple-jsp-redirect/</guid>
</item>
<item>
<title>(HTML) JSP templates for Struts2 - ff1959</title>
<link>http://snipplr.com/view/19860/jsp-templates-for-struts2/</link>
<description><![CDATA[ <p>Code snippets to use as a template for consistent HTML page generation</p> ]]></description>
<pubDate>Thu, 17 Sep 2009 07:45:32 GMT</pubDate>
<guid>http://snipplr.com/view/19860/jsp-templates-for-struts2/</guid>
</item>
<item>
<title>(Java) JSP true back link - adammika</title>
<link>http://snipplr.com/view/18270/jsp-true-back-link/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Aug 2009 09:58:18 GMT</pubDate>
<guid>http://snipplr.com/view/18270/jsp-true-back-link/</guid>
</item>
<item>
<title>(Java) JSP proxy for JavaScript applications - stoyan</title>
<link>http://snipplr.com/view/17987/jsp-proxy-for-javascript-applications/</link>
<description><![CDATA[ <p>*save as proxy.jsp and put it in your servlet container
*consider using other methods to circumvent XSS: JSONP, dojox.io.xhrWindowNamePlugin, etc.</p> ]]></description>
<pubDate>Fri, 07 Aug 2009 01:01:30 GMT</pubDate>
<guid>http://snipplr.com/view/17987/jsp-proxy-for-javascript-applications/</guid>
</item>
<item>
<title>(XML) tomcat mysql jndi connection pool - vasilije</title>
<link>http://snipplr.com/view/11545/tomcat-mysql-jndi-connection-pool/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 26 Jan 2009 19:15:02 GMT</pubDate>
<guid>http://snipplr.com/view/11545/tomcat-mysql-jndi-connection-pool/</guid>
</item>
<item>
<title>(XHTML) Make jsp an xhtml - djiao</title>
<link>http://snipplr.com/view/8451/make-jsp-an-xhtml/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 17 Sep 2008 13:59:03 GMT</pubDate>
<guid>http://snipplr.com/view/8451/make-jsp-an-xhtml/</guid>
</item>
<item>
<title>(XML) Velocity and JSP views together in Spring configuration - jcblitz</title>
<link>http://snipplr.com/view/8405/velocity-and-jsp-views-together-in-spring-configuration/</link>
<description><![CDATA[ <p>The first part goes in a myspring-servlet.xml context file. The second part is a properties file that is used to map the views with their locations. "projects" displays using a JSP and dashboard displays using a velocity template.</p> ]]></description>
<pubDate>Mon, 15 Sep 2008 13:13:49 GMT</pubDate>
<guid>http://snipplr.com/view/8405/velocity-and-jsp-views-together-in-spring-configuration/</guid>
</item>
<item>
<title>(JavaScript) Include Apache SSIs in JSPs using Prototype - trmarch</title>
<link>http://snipplr.com/view/5649/include-apache-ssis-in-jsps-using-prototype/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Apr 2008 21:00:32 GMT</pubDate>
<guid>http://snipplr.com/view/5649/include-apache-ssis-in-jsps-using-prototype/</guid>
</item>
<item>
<title>(Java) Dynamic list binding in Spring MVC | mattfleming.com - taltmann</title>
<link>http://snipplr.com/view/4807/dynamic-list-binding-in-spring-mvc--mattflemingcom/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 28 Jan 2008 11:40:58 GMT</pubDate>
<guid>http://snipplr.com/view/4807/dynamic-list-binding-in-spring-mvc--mattflemingcom/</guid>
</item>
<item>
<title>(Java) Struts bean:write format attribute - springett</title>
<link>http://snipplr.com/view/1958/struts-beanwrite-format-attribute/</link>
<description><![CDATA[ <p>You can use these attributes to format the display of your form bean properties. This works pretty well in displaying currency and date/time values. For example, you can display 1234.567 as $1,234.57 and 08/12/2006 as Aug 12, 2006. 

In order to get the second tag to work you will need to add the following line to your resource bundle:

myapp.currency.format=$#,000.00

The preferred way is to use the second format because it makes the code portable. Plus, if you want to change the format, you can make the change in resource bundle without having to worry about changing all your JSPs.

The type of the property being formatted cannot be String. The format attribute simply uses default format (display the property as is) when the property is of type java.lang.String. In other words:

private double amount; // will be formatted correctly
private String amount; // will NOT be formatted at all</p> ]]></description>
<pubDate>Thu, 11 Jan 2007 05:30:32 GMT</pubDate>
<guid>http://snipplr.com/view/1958/struts-beanwrite-format-attribute/</guid>
</item>
<item>
<title>(Java) Redirigir peticion (alternativa a sendRedirect) - pablazo</title>
<link>http://snipplr.com/view/1828/redirigir-peticion-alternativa-a-sendredirect/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Dec 2006 08:10:59 GMT</pubDate>
<guid>http://snipplr.com/view/1828/redirigir-peticion-alternativa-a-sendredirect/</guid>
</item>
</channel>
</rss>