You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Abey Mullassery <ab...@mullassery.com> on 2003/10/13 18:21:14 UTC

Cleanup of dynamically generated Images

As mentioned in the Image taglib documentation
(http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html), it
generates the dynamic images into a folder on the server. Hence it needs an
optional cleanup operation.

Based on some feedback from testers/users, the list of types of cleanup has
grown.
	delete at the end of session.
	delete at the end of application.
	delete after "n" requests.
	delete/ expire after "n" milliseconds.

I was planning to implement this feature with a combination of Listeners and
Servlets.

Please let me know if you have a comment, suggestion or an alternative in
mind.

Thanks,

Abey Mullassery
W: http://www.mullassery.com
==============================


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Re: Cleanup of dynamically generated Images

Posted by Rick Ross <rr...@stupendousman.com>.
Ahh..  you really have to write more for people at my end of the gene 
pool too..  :-)


R



Abey Mullassery wrote:

>>Why not at the end of the request?
>>    
>>
>
>That would be a one case of "delete after 'n' requests" (n=1)
>
>Cheers,
>
>Abey Mullassery
>W: http://www.mullassery.com
>==============================
>
>  
>
>>Abey Mullassery wrote:
>>
>>    
>>
>>>As mentioned in the Image taglib documentation
>>>(http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html), it
>>>generates the dynamic images into a folder on the server. Hence
>>>      
>>>
>>it needs an
>>    
>>
>>>optional cleanup operation.
>>>
>>>Based on some feedback from testers/users, the list of types of
>>>      
>>>
>>cleanup has
>>    
>>
>>>grown.
>>>	delete at the end of session.
>>>	delete at the end of application.
>>>	delete after "n" requests.
>>>	delete/ expire after "n" milliseconds.
>>>
>>>I was planning to implement this feature with a combination of
>>>      
>>>
>>Listeners and
>>    
>>
>>>Servlets.
>>>
>>>Please let me know if you have a comment, suggestion or an alternative in
>>>mind.
>>>
>>>Thanks,
>>>
>>>Abey Mullassery
>>>W: http://www.mullassery.com
>>>==============================
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


RE: Cleanup of dynamically generated Images

Posted by Abey Mullassery <ab...@mullassery.com>.
>
> Why not at the end of the request?

That would be a one case of "delete after 'n' requests" (n=1)

Cheers,

Abey Mullassery
W: http://www.mullassery.com
==============================

>
> Abey Mullassery wrote:
>
> >As mentioned in the Image taglib documentation
> >(http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html), it
> >generates the dynamic images into a folder on the server. Hence
> it needs an
> >optional cleanup operation.
> >
> >Based on some feedback from testers/users, the list of types of
> cleanup has
> >grown.
> >	delete at the end of session.
> >	delete at the end of application.
> >	delete after "n" requests.
> >	delete/ expire after "n" milliseconds.
> >
> >I was planning to implement this feature with a combination of
> Listeners and
> >Servlets.
> >
> >Please let me know if you have a comment, suggestion or an alternative in
> >mind.
> >
> >Thanks,
> >
> >Abey Mullassery
> >W: http://www.mullassery.com
> >==============================
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Re: Cleanup of dynamically generated Images

Posted by Rick Ross <rr...@stupendousman.com>.
Why not at the end of the request?  

Abey Mullassery wrote:

>As mentioned in the Image taglib documentation
>(http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html), it
>generates the dynamic images into a folder on the server. Hence it needs an
>optional cleanup operation.
>
>Based on some feedback from testers/users, the list of types of cleanup has
>grown.
>	delete at the end of session.
>	delete at the end of application.
>	delete after "n" requests.
>	delete/ expire after "n" milliseconds.
>
>I was planning to implement this feature with a combination of Listeners and
>Servlets.
>
>Please let me know if you have a comment, suggestion or an alternative in
>mind.
>
>Thanks,
>
>Abey Mullassery
>W: http://www.mullassery.com
>==============================
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org