Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 17633 invoked from network); 2 May 2003 14:39:19 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 2 May 2003 14:39:19 -0000 Received: (qmail 3667 invoked by uid 97); 2 May 2003 14:41:22 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 3660 invoked from network); 2 May 2003 14:41:22 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 2 May 2003 14:41:22 -0000 Received: (qmail 15767 invoked by uid 500); 2 May 2003 14:38:59 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 15723 invoked from network); 2 May 2003 14:38:59 -0000 Received: from mail.softwarespecialists.com (HELO shillong.SoftwareSpecialists.com) (209.195.150.115) by daedalus.apache.org with SMTP; 2 May 2003 14:38:59 -0000 Received: by SHILLONG with Internet Mail Service (5.5.2653.19) id ; Fri, 2 May 2003 10:35:35 -0400 Message-ID: From: Srinivasu Gandu To: 'Tomcat Users List' Subject: [OFF-Topic]getAttribute and setAttribute Date: Thu, 1 May 2003 18:26:59 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am not getting the values to the jsp page from the servlet when I use request.setAttribute("messageVector",messageVector) in the servlet. In the jsp page I am using the getAttribute to get that vector and show them in a table row.. I am just getting empty jsp with images but not the values from the while loop.. what could be the wrong??? <% Vector messageVector = (Vector)request.getAttribute("messageVector"); %> <% String str= ""; Enumeration message = messageVector.elements(); while(message .hasMoreElements()){ str = (String)message.nextElement(); %> // I am generating some table rows <% } %> --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org