Hi,
isn't enough to add these 3 lines to your servlet?

response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader("Expires", 0); //prevents caching at the proxy
server

--Mattia 

> -----Original Message-----
> From: Anis h [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 1:19 PM
> To: Paulo Soares
> Cc: [EMAIL PROTECTED]
> Subject: RE: [iText-questions] expiring pdf in the browser
> 
> 
> Thanks Paulo!
> 
> I really don't know how  to contact 
> 
> Tobias Adamson  who answered for that particular
> question...  Thread: Netscape with iText
> 
> kindly let me know how to contact or participate in
> the above thread.. I visited the link provided by you
> paulo.. but it is READ ONLY
> 
> thanks
> 
> ANISH
> --- Paulo Soares <[EMAIL PROTECTED]> wrote:
> > That's an http problem not iText. See
> >
> http://sourceforge.net/mailarchive/message.php?msg_id=254113.
> > 
> > Best Regards,
> > Paulo Soares
> > 
> > > -----Original Message-----
> > > From:     Anis h [SMTP:[EMAIL PROTECTED]]
> > > Sent:     Wednesday, April 03, 2002 19:43
> > > To:       [EMAIL PROTECTED]
> > > Subject:  [iText-questions] expiring pdf in the
> > browser
> > > 
> > > Hello,
> > > 
> > > I have created a pdf in my servlet using iText and
> > my
> > > servlet response goes to the browser, netscapte
> > 6.2 
> > > 
> > > after rendering pdf I move to different url .. and
> > > when I try to use browser BACK button I don't want
> > to
> > > see the pdf on my browser ,..in short I want to
> > expire
> > > the pdf ...
> > > 
> > > kindly let me know how to do this ..
> > > 
> > > Your help is highly appreciated
> > > 
> > > Anis
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Tax Center - online filing with TurboTax
> > > http://taxes.yahoo.com/
> > > 
> > > _______________________________________________
> > > iText-questions mailing list
> > > [EMAIL PROTECTED]
> > >
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to