tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: Etags vs Week Etags
Date Wed, 03 Sep 2008 17:36:09 GMT
Suppose I need to explain what I would try...

You in the code already so stealing the getLastMosified routing or whatever 
is easy..

If you map a servlet to say...

/MyStaticStuff/*.jsp
/MyStaticStuff/*.jpg

That servlet will get all those requests...

Then you rename your static resources that you want to control, say to

jpg_myway

So
/MyStaticStuff/somepage.jsp
will hit your selvet...

Your servlet checks
somepage.jsp_myway

if ok... send back no change
if not ok.... forward to jsp page

and hopefully that works...

Something like that

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message