Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Resin 2.x caching servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Resin 2.x caching servlets" Watch "Resin 2.x caching servlets" New topic

Resin 2.x caching servlets

Darren Wheatley

Joined: Nov 27, 2003
Posts: 11

I have a shared hosting site that I use for my webapps. The ISP runs Resin 2.1.x with caching turned on.

When I deploy a new version of a Servlet Resin continues to serve the previous version until the cache timesout. The amount of time this takes can be lengthy.

Is there a way to force Resin to always serve the latest version of my Servlet given that my servlet doesn't output any HTML (it is a form processor that just sends an email and then redirects to a JSP page) and that I don't have any access to resin.conf?


Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Moving to the Other Java Server's forum where Resin specific issues are discussed.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Resin 2.x caching servlets
jQuery in Action, 3rd edition