Re: [Opensymphony-oscache] cachefilter
"jacky" <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <017f01c5359a$09184b70$6201a8c0@computer> |
I see, thanks very much!
another question: in test.jsp
<cache:cache key = "test" scope = "application" time = "600">
<%
// here, create a image according to the request parameters and return the name of image.
String imageName = generateImage(request);
String path = "temp/" + imageName;
%>
</cache:cache>
<image src='<%=path%>'>
I want to check if the image exists outsides the cache tag, how can i get the imageName String?
Because if someone delete the image file in the temp directory,then it will not display correctly
and should be recreated .
btw: How can i close the log info which is in the cachefilter and cacheservlet...
Best Regards.
jacky Keenmicro
----- Original Message -----
From: "Lars Torunski" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 31, 2005 2:54 AM
Subject: [Opensymphony-oscache] cachefilter
> Bug CACHE-116 is the matter. The bug will be fixed in release 2.1.1. The problem is that OSCache will response with a "304 Not Modified" even if no If-Modified-Since" header is sent. This will result in a blank browser page.
>
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.opensymphony.com/thread.jspa?threadID=1151&messageID=3695#3695
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>