Hi,
write this in put in your .jsp:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
This will avoid that the jsp-page is cached.
Regards,
Mascha
____________________
Mascha-Kathinka Kluge
ByteCom GmbH
Martin-Luther-Str. 5a
97072 W�rzburg
Tel: +49 (931) 35 45 8-44
Fax: +49 (931) 35 45 8-19
http://www.bytecom.net
mailto:[EMAIL PROTECTED]
> -----Urspr�ngliche Nachricht-----
> Von: Falk [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 8. Mai 2001 13:34
> An: [EMAIL PROTECTED]
> Betreff: JSP Tomcat
>
>
> hello,
> i use a javabean within a jsp page on a tomcat3.2.1 server.
>
> <jsp:useBean
> class="oracle.jbo.html.databeans.ChartRenderer" id="bon"
> scope="request" >
>
> the bean retrieves data from a database. all fine so far.
> but tomcat caches the files so when i update the database and
> reload the jsp
> page in the browser I receive old data.
> I have to restart tomcat in order to get the correct data.
> Also when I open another browser the data is correct.
> And I get "OutputStream already in use" Exception.
> anybody knows how to configure tomcat to get the correct data
> without having
> to restart ??
>
> thanks a lot
> falk
>
>