Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 73988 invoked from network); 28 May 2008 02:23:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 02:23:18 -0000 Received: (qmail 72054 invoked by uid 500); 28 May 2008 02:23:08 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 72027 invoked by uid 500); 28 May 2008 02:23:08 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 72016 invoked by uid 99); 28 May 2008 02:23:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 19:23:08 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly.lewis@gmail.com designates 209.85.142.190 as permitted sender) Received: from [209.85.142.190] (HELO ti-out-0910.google.com) (209.85.142.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 02:22:21 +0000 Received: by ti-out-0910.google.com with SMTP id u5so1957810tia.16 for ; Tue, 27 May 2008 19:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=PtZRth1cR5mR9EVRGCU2CPfEayiKeL5/VNJ9wKhy8lQ=; b=lIlz2xar9QqgwECrPleybcn55R6Ckr4/x06aaEh1fNzCuwPzcrgoHc3ZV90d0b4DvpVV32uWZbmnSr3ebbmP3cU0y5kFK7nlbYx/LDYKA1l/apoy6nOvZEKYJKQ+fNKNLbN1kPqnDFsAAc00ERxeOMRIS2nmq9JGCMdqUN0BJmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=BHf55liX75yRsv1SbXwNfpSPds66YiEE+rAzNVaLNqfJhDGbUIaA183MdcPa1ACC+n5isF6cSdZBx12+dVVa35yZISWvK1tvVB2DJCNO09TDRbjVtU3uhr6zLs9eylgbjV1ykVjkCNaV9GpAx3SFs++uobzfUQBGdnr8KY1ZNos= Received: by 10.110.92.8 with SMTP id p8mr282618tib.25.1211941356685; Tue, 27 May 2008 19:22:36 -0700 (PDT) Received: by 10.110.17.20 with HTTP; Tue, 27 May 2008 19:22:36 -0700 (PDT) Message-ID: <130a84b80805271922y1a4327faw31e7681852a2f598@mail.gmail.com> Date: Wed, 28 May 2008 12:22:36 +1000 From: "Kimberly Begley" To: "Tomcat Users List" Subject: jsp session values - setting and getting problems MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_52_10370856.1211941356685" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_52_10370856.1211941356685 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have a jsp form that sets session attributes as such: session.setAttribute("totals",totals); session.setAttribute("failures",failures); session.setAttribute("skips",skips); and then the form directs to the report.jsp page as follows:
where the values are supposed to be retrieved like this: String[] totals = (String[])session.getAttribute("totals"); Vector failures = (Vector)session.getAttribute("failures"); Vector skips = (Vector)session.getAttribute("skips"); I have tried using getAttribute, setAtrribute as well as setValue, getValue --- the setValue, getValue work fine from my local copy but when moved onto a server with the same linux version and tomcat version (5 that is) it is returning null values for the 3 variables. Any ideas? Thanks, Kimberly ------=_Part_52_10370856.1211941356685--