Re: [Simpleweb-Support] Problem of trying simple
Brought to you by:
niallg
From: Carfield Y. <car...@gm...> - 2005-10-10 14:32:01
|
In fact, I've override HttpServlet.getLastModified() so that the cache work better. I guess similar logic in simple is Request.setDate("last-modified", date), right? On 10/10/05, Carfield Yim <car...@gm...> wrote: > Request?? Or it should be Response? > > On 10/10/05, Niall Gallagher <gal...@ya...> wrote: > > Hi > > > > Yes, you do the following > > > > Request.getDate("last-modified") > > > > or if you want to check conditional headers > > > > Request.getDate("if-modified-since") > > > > Niall > > > > --- Carfield Yim <car...@ca...> wrote: > > > > > Anyone know what is the simple api work similar to > > > the following API > > > of HttpServlet? > > > > > > protected final long getLastModified(final > > > HttpServletRequest req) > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, > > > downloads, discussions, > > > and more. > > > http://solutions.newsforge.com/ibmarch.tmpl > > > _______________________________________________ > > > Simpleweb-Support mailing list > > > Sim...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > > > > > > > > > Niall Gallagher > > > > > > > > __________________________________ > > Start your day with Yahoo! - Make it your home page! > > http://www.yahoo.com/r/hs > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussion= s, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Simpleweb-Support mailing list > > Sim...@li... > > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > > > |