Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 80872 invoked from network); 14 Aug 2002 13:00:10 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Aug 2002 13:00:10 -0000 Received: (qmail 4792 invoked by uid 97); 14 Aug 2002 12:59:31 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 4520 invoked by uid 97); 14 Aug 2002 12:59:28 -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 4305 invoked by uid 98); 14 Aug 2002 12:59:26 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <047601c24392$34165440$6bed4150@hypergeo.org> From: =?iso-8859-1?Q?C=E9dric_Viaud?= To: "Tomcat Users List" References: Subject: Re: Access Parameter Date: Wed, 14 Aug 2002 14:57:53 +0200 Organization: Aptus MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N As JSP are "compiled" as servlets, you can do with JSP everything you can do with servlets. Check for the exact syntax. Regards, C�dric ----- Original Message ----- From: To: "Tomcat Users List" Sent: Tuesday, August 13, 2002 6:32 PM Subject: Access Parameter > Can I use something like this in my jsp page (instead of a java sevlet) to > > get the parameter name?, > before that I set the parameter in my web.xml file like this: > > > parameter name > localhost > > > String value = getServletContext().getInitParameter("parameter name"); > > is it only works in a sevlet or will it work in a jsp page too??? > > thanks again > Alex Tomita > -- To unsubscribe, e-mail: For additional commands, e-mail: