RE: Page is not cached

2001-07-11 Thread Zeltser, Mark

No, I don't.

 -Original Message-
 From: Peter Alfors [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, July 10, 2001 3:59 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Page is not cached
 
 Do you have the ActionServlet init-param nocache set to true?
 
 From ActionServlet.java:
 nocache - If set to true, add HTTP headers to every response intended to
 defeat browser caching of any response we generate or forward to
 
 HTH,
 Pete
 
 
 Zeltser, Mark wrote:
 
  Hello,
 
  I have struts 1.0 app running on tomcat and I noticed that one of my
 pages
  (output after uploading a file) is not cached by the browser (IE 5). By
  default ActionServlet doesn't include any headers prohibiting from
 caching.
 
  I tried manually set headers inside of the action prior to forwarding to
  template but it didn't help (somehow they didn't show up when I tried to
  print the headers out):
 
 
 **
 **
  
  10 Jul 2001 13:36:01,942 INFO  ContextServlet,55 - //
 Header
  Info
  10 Jul 2001 13:36:01,942 INFO  ContextServlet,59 -
  Cookie=JSESSIONID=5r5zy3v3o1
  10 Jul 2001 13:36:01,958 INFO  ContextServlet,59 -
 Host=njimtw860140:8080
  10 Jul 2001 13:36:01,958 INFO  ContextServlet,59 -
  Accept=application/msword, application/vnd.ms-excel,
  application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg,
  image/pjpeg, */*
  10 Jul 2001 13:36:01,974 INFO  ContextServlet,59 -
 User-Agent=Mozilla/4.0
  (compatible; MSIE 5.0; Windows NT; DigExt)
  10 Jul 2001 13:36:01,989 INFO  ContextServlet,59 - Content-Length=546
  10 Jul 2001 13:36:01,989 INFO  ContextServlet,59 - Accept-Language=en-us
  10 Jul 2001 13:36:02,005 INFO  ContextServlet,59 - Accept-Encoding=gzip,
  deflate
  10 Jul 2001 13:36:02,005 INFO  ContextServlet,59 -
  Content-Type=multipart/form-data;
  boundary=---7d111e1211634
  10 Jul 2001 13:36:02,021 INFO  ContextServlet,59 - Connection=Keep-Alive
  10 Jul 2001 13:36:02,021 INFO  ContextServlet,59 -
  Referer=http://njimtw860140:8080/hp2/templates/CasImportTemplate.jsp
  10 Jul 2001 13:36:02,036 INFO  ContextServlet,61 - //
 End
  Header Info
 
 **
 **
  
 
  Did anyone encounter this problem?
 
  Thanks, Mark.
 
 
 --
 
  This message is intended only for the personal and confidential use of
 the designated recipient(s) named above.  If you are not the intended
 recipient of this message you are hereby notified that any review,
 dissemination, distribution or copying of this message is strictly
 prohibited.  This communication is for information purposes only and
 should not be regarded as an offer to sell or as a solicitation of an
 offer to buy any financial product, an official confirmation of any
 transaction, or as an official statement of Lehman Brothers.  Email
 transmission cannot be guaranteed to be secure or error-free.  Therefore,
 we do not represent that this information is complete or accurate and it
 should not be relied upon as such.  All information is subject to change
 without notice.  File: Card for Peter Alfors  


--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.





struts-upload, why jsp page in not cached by IE?

2001-07-11 Thread Zeltser, Mark

Hello,

I noticed that after running struts-upload example the resulted page is
expired under IE 5(cache setting is automatic) but not under Netscape
(4.75). Does anyone know the reason?

Thanks, Mark.


--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.





Page is not cached

2001-07-10 Thread Zeltser, Mark

Hello,

I have struts 1.0 app running on tomcat and I noticed that one of my pages
(output after uploading a file) is not cached by the browser (IE 5). By
default ActionServlet doesn't include any headers prohibiting from caching.

I tried manually set headers inside of the action prior to forwarding to
template but it didn't help (somehow they didn't show up when I tried to
print the headers out):



10 Jul 2001 13:36:01,942 INFO  ContextServlet,55 - // Header
Info
10 Jul 2001 13:36:01,942 INFO  ContextServlet,59 -
Cookie=JSESSIONID=5r5zy3v3o1
10 Jul 2001 13:36:01,958 INFO  ContextServlet,59 - Host=njimtw860140:8080
10 Jul 2001 13:36:01,958 INFO  ContextServlet,59 -
Accept=application/msword, application/vnd.ms-excel,
application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, */*
10 Jul 2001 13:36:01,974 INFO  ContextServlet,59 - User-Agent=Mozilla/4.0
(compatible; MSIE 5.0; Windows NT; DigExt)
10 Jul 2001 13:36:01,989 INFO  ContextServlet,59 - Content-Length=546
10 Jul 2001 13:36:01,989 INFO  ContextServlet,59 - Accept-Language=en-us
10 Jul 2001 13:36:02,005 INFO  ContextServlet,59 - Accept-Encoding=gzip,
deflate
10 Jul 2001 13:36:02,005 INFO  ContextServlet,59 -
Content-Type=multipart/form-data;
boundary=---7d111e1211634
10 Jul 2001 13:36:02,021 INFO  ContextServlet,59 - Connection=Keep-Alive
10 Jul 2001 13:36:02,021 INFO  ContextServlet,59 -
Referer=http://njimtw860140:8080/hp2/templates/CasImportTemplate.jsp
10 Jul 2001 13:36:02,036 INFO  ContextServlet,61 - // End
Header Info



Did anyone encounter this problem?

Thanks, Mark.


--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.





Re: Page is not cached

2001-07-10 Thread Peter Alfors

Do you have the ActionServlet init-param nocache set to true?

From ActionServlet.java:
nocache - If set to true, add HTTP headers to every response intended to defeat 
browser caching of any response we generate or forward to

HTH,
Pete


Zeltser, Mark wrote:

 Hello,

 I have struts 1.0 app running on tomcat and I noticed that one of my pages
 (output after uploading a file) is not cached by the browser (IE 5). By
 default ActionServlet doesn't include any headers prohibiting from caching.

 I tried manually set headers inside of the action prior to forwarding to
 template but it didn't help (somehow they didn't show up when I tried to
 print the headers out):

 
 
 10 Jul 2001 13:36:01,942 INFO  ContextServlet,55 - // Header
 Info
 10 Jul 2001 13:36:01,942 INFO  ContextServlet,59 -
 Cookie=JSESSIONID=5r5zy3v3o1
 10 Jul 2001 13:36:01,958 INFO  ContextServlet,59 - Host=njimtw860140:8080
 10 Jul 2001 13:36:01,958 INFO  ContextServlet,59 -
 Accept=application/msword, application/vnd.ms-excel,
 application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg,
 image/pjpeg, */*
 10 Jul 2001 13:36:01,974 INFO  ContextServlet,59 - User-Agent=Mozilla/4.0
 (compatible; MSIE 5.0; Windows NT; DigExt)
 10 Jul 2001 13:36:01,989 INFO  ContextServlet,59 - Content-Length=546
 10 Jul 2001 13:36:01,989 INFO  ContextServlet,59 - Accept-Language=en-us
 10 Jul 2001 13:36:02,005 INFO  ContextServlet,59 - Accept-Encoding=gzip,
 deflate
 10 Jul 2001 13:36:02,005 INFO  ContextServlet,59 -
 Content-Type=multipart/form-data;
 boundary=---7d111e1211634
 10 Jul 2001 13:36:02,021 INFO  ContextServlet,59 - Connection=Keep-Alive
 10 Jul 2001 13:36:02,021 INFO  ContextServlet,59 -
 Referer=http://njimtw860140:8080/hp2/templates/CasImportTemplate.jsp
 10 Jul 2001 13:36:02,036 INFO  ContextServlet,61 - // End
 Header Info
 
 

 Did anyone encounter this problem?

 Thanks, Mark.

 --
 This message is intended only for the personal and confidential use of the 
designated recipient(s) named above.  If you are not the intended recipient of this 
message you are hereby notified that any review, dissemination, distribution or 
copying of this message is strictly prohibited.  This communication is for 
information purposes only and should not be regarded as an offer to sell or as a 
solicitation of an offer to buy any financial product, an official confirmation of 
any transaction, or as an official statement of Lehman Brothers.  Email transmission 
cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that 
this information is complete or accurate and it should not be relied upon as such.  
All information is subject to change without notice.


begin:vcard 
n:;
x-mozilla-html:FALSE
org:BRIMG SRC=http://www.irista.com/images/common/logo_top_right.gif;
adr:;;
version:2.1
end:vcard