Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 55299 invoked from network); 3 Mar 2003 18:15:07 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Mar 2003 18:15:07 -0000 Received: (qmail 14302 invoked by uid 97); 3 Mar 2003 18:16:48 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 14295 invoked from network); 3 Mar 2003 18:16:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 3 Mar 2003 18:16:47 -0000 Received: (qmail 53421 invoked by uid 500); 3 Mar 2003 18:14:43 -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 53375 invoked from network); 3 Mar 2003 18:14:43 -0000 Received: from unknown (HELO mail.wsmart.com) (65.39.65.11) by daedalus.apache.org with SMTP; 3 Mar 2003 18:14:43 -0000 Received: from wmotion.com (65.39.65.98) by mail.wsmart.com with ESMTP (Eudora Internet Mail Server 3.0.3) for ; Mon, 3 Mar 2003 11:14:47 -0700 Date: Mon, 3 Mar 2003 11:14:25 +0530 Subject: Re: Am i doing something wrong while using ????? Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Mufaddal Khumri To: "Tomcat Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <3E6396CC.7000605@ptc.com> Message-Id: <311A73E5-4D3B-11D7-8120-0003931CBFD0@wmotion.com> X-Mailer: Apple Mail (2.551) 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 downcasted but it did not help. " /> " /> I went to the generated .Java file for the JSP .. its throwing an exception at this line : if (pageContext != null) pageContext.handlePageException(t); On Monday, March 3, 2003, at 11:24 PM, Erik Price wrote: > > > Mufaddal Khumri wrote: > > [...] > >> In my JSP page i have the following code >> / >> /--------------------------------------------------------------------- >> -- ---------------- >> >> > property="dbReader" >> value="<%= >> session.getAttribute("DBWRITER")%>" /> >> > property="dbWriter" >> value="<%= >> session.getAttribute("DBWRITER")%>" /> >> >> / >> /--------------------------------------------------------------------- >> -- ---------------- >> I get the following error in my log file: >> 2003-03-03 10:23:51 StandardWrapperValve[jsp]: Servlet.service() for >> servlet jsp threw exception >> org.apache.jasper.JasperException: FAQHelper > > > In your tags, the "name" attribute should be the > same as a JavaBean instance identified with the "id" attribute of > . > > So maybe it should look like this: > > > value="<%= session.getAttribute("DBWRITER") %>"/> > > etc. > > Also you may need to downcast the value returned from > session.getAttribute(). > > > Erik > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org