1) Store them to your relational database,
2) Add oscache to your web application.
3) Change your web.xml so that it contains the following filters.
<filter>
<filter-name>CacheFilter</filter-name>
<filter-class>com.opensymphony.oscache.web.filter.CacheFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CacheFilter</filter-name>
<url-pattern>/customer/displayImage.do</url-pattern>
</filter-mapping>
4) Now you have relational database storage, all the fun, and none of the pain.
5) You can configure oscache in a variety of ways, check out
opensymphony website/google for more.
Bryan
--
http://www.revoltingdigits.com
https://jestate.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]