Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 30743 invoked from network); 8 Dec 2000 13:54:44 -0000 Received: from ns2.pfizer.com (HELO mailrelay4.pfizer.com) (192.77.198.2) by locus.apache.org with SMTP; 8 Dec 2000 13:54:44 -0000 Received: from nycexcn01.pfizer.com (localhost [127.0.0.1]) by mailrelay4.pfizer.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id IAA07033 for ; Fri, 8 Dec 2000 08:54:17 -0500 (EST) Received: by NYCEXCN01.pfizer.com with Internet Mail Service (5.5.2650.21) id ; Fri, 8 Dec 2000 08:54:16 -0500 Message-ID: From: "Adress, David S." To: "'tomcat-user@jakarta.apache.org'" Subject: RE: $20 bucks to the 1st person who actually solves my problem!!! Date: Fri, 8 Dec 2000 08:54:15 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N In onload i'm trying a document.refresh. I'm not getting any javascript error so it's definitely calling it but it didn't solve the problem... Thanks=20 -----Original Message----- From: Stef=E1n F. Stef=E1nsson [mailto:stefanf@mx1.decode.is] Sent: Friday, December 08, 2000 8:41 AM To: tomcat-user@jakarta.apache.org Subject: RE: $20 bucks to the 1st person who actually solves my problem!!! Try to find some way of using the javascript code "this.location.refresh()" in this. For example... you could have the JSP page or the servlet add the code onLoad=3D"this.location.refresh()" into the body tag of the jsp page if the user has just deleted an = entry. That way the client browser should force the page to be refreshed. I hope this helps solving your problem... please forget about the = money ;o) Kind Regards, Stefan Freyr -----Original Message----- From: Adress, David S. [mailto:David.S.Adress@pfizer.com] Sent: 8. desember 2000 13:29 To: 'tomcat-user@jakarta.apache.org'; 'JRun-Talk' Subject: $20 bucks to the 1st person who actually solves my problem!!! I am on this for days and I can't figure out what I'm doing wrong. I will send $20 bucks to 1st person who actually solves my problem. I am using jsp page's to control the layout of my page and servlets to spit back=20 table data or to do database transactions. I have a jsp page that displays a list of employees. The jsp page has an include statement to include the servlet to spit out the table. The jsp just handles the general look of the page and the servlet just=20 spits out the table and table html tags. Next to each record I have an add and=20 delete hyperlink. If someone clicks the add link it displays another page to add=20 an employee and then the action servlet adds the record and then goes back to the jsp=20 list page. If some one deletes a record it calls a servlet to delete = and then the servlet redirects back to the jsp list page. But the list doesn't display the updated data without having me hit the refresh button in = the browser. I tried using Tomcat and now am using Jrun and am still having the same problem. I've included all the proper meta tags in the jsp list page not to = cache but it's not working. I've also tries doing it with reponse.setHeader but = it doesn't work either. I've tried sending a random number param to the page ShowList?rnd=3DRandomnumber it still doesn't work.