Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 76926 invoked from network); 2 Oct 2006 10:53:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 10:53:25 -0000 Received: (qmail 39350 invoked by uid 500); 2 Oct 2006 10:53:17 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 38853 invoked by uid 500); 2 Oct 2006 10:53:15 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 38842 invoked by uid 99); 2 Oct 2006 10:53:15 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 03:53:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [194.65.141.7] ([194.65.141.7:45765] helo=imss1.tmn.pt) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 29/A5-16499-C8FE0254 for ; Mon, 02 Oct 2006 03:53:02 -0700 Received: from imss1.tmn.pt (localhost [127.0.0.1]) by localhost.tmn.pt (Postfix) with ESMTP id C24309F1 for ; Mon, 2 Oct 2006 11:52:45 +0100 (WEST) Received: from tmnsedex05.tmn.corppt.com (unknown [10.101.1.21]) by imss1.tmn.pt (Postfix) with ESMTP id 0730357136 for ; Mon, 2 Oct 2006 11:20:08 +0100 (WEST) Received: from TMNSEDEX03.tmn.corppt.com ([10.101.1.15]) by tmnsedex05.tmn.corppt.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 2 Oct 2006 11:20:08 +0100 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: cannot get parameter value in action class passed using html:link Importance: normal Priority: normal Date: Mon, 2 Oct 2006 11:20:07 +0100 Message-ID: <546AF08618B4CE46BF3DC01D200688E701476FDC@TMNSEDEX03.tmn.corppt.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cannot get parameter value in action class passed using html:link thread-index: AcbmCx8rWQRODkkNRDCoNKLbjzm3dwAAN0fQ From: "David Pinho (Hexadecimal)" To: "Struts Users Mailing List" X-OriginalArrivalTime: 02 Oct 2006 10:20:08.0894 (UTC) FILETIME=[565365E0:01C6E60C] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The fact that you have myapp on the first link and orion on the second, is intencional right? Obrigado, =20 David Pinho DAN/DIS -----Original Message----- From: Antonio Petrelli [mailto:apetrelli@apache.org]=20 Sent: segunda-feira, 2 de Outubro de 2006 11:14 To: Struts Users Mailing List Subject: Re: cannot get parameter value in action class passed using html:link Vinod Kumar ha scritto: > this is the way I try to get value in > aciton class > System.out.println("PRINT VALUE =3D > "+request.getParameter( "print" )); > > Sometime, the printable link looks like > http://localhost:81/myapp/setup.do;jsessionid=3Dxrlq86pj71?print=3DYES > > even if i trim it to > http://localhost:81/orion/setup.do?print=3DYES , no > value is received in action class. It seems to be a bug, but I don't know where it is. Just to restrict the problem see what prints: request.getQueryString() i.e. see if it contains the parameters you want. If you see them, be=20 sure that you have not a filter that creates a wrapped=20 HttpServletRequest that overrides "getParameter". If you have no filter=20 (or your filter does not what I wrote before), it could be a bug of the=20 servlet container (though I don't think it is...). Ciao Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org AVISO Esta mensagem e quaisquer anexos seus podem conter informacao = confidencial para uso exclusivo do destinatario. Cabe ao destinatario = assegurar a verificacao de virus e outras medidas que assegurem que esta = mensagem nao afecta os seus sistemas. Se nao for o destinatario, nao = devera usar, distribuir ou copiar este e-mail, devendo proceder a sua = eliminacao e informar o emissor. E estritamente proibido o uso, a = distribuicao, a copia ou qualquer forma de disseminacao nao autorizada = deste e-mail e seus anexos. Obrigado. DISCLAIMER This e-mail and its attachments may contain confidential information for = exclusive use of its recipient. It is your responsibility to carry out = appropriate virus and other checks to ensure that this message and any = attachments do not affect your systems / data. If you are not the = intended recipient you must not use, distribute or reproduce this e-mail = and you must notify the sender and delete the entire email. Any = unauthorized use, dissemination, distribution or copying of this message = and its attachments is strictly prohibited. Thank You. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org