try request.getParameter(ParameterName); -----Original Message----- From: Andrzej Bengner [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 4:56 PM To: user@struts.apache.org Subject: TagSupport - how to get request attribute
Hello, I have one problem with access to attribute in request in my class from TagSupport. I send GET to my site (eg. http://localhost/app/site.jsp?Test=value). How to get this "Test" attribute in my class? I tried: TagUtils.getInstance().lookup(pageContext,"Test", null); pageContext.findAttribute("Test"); ServletRequest request = pageContext.getRequest(); request.getAttribute("Test"); ... and all of this returns null. Regards -- Andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Make your callers hear anything you like.Call 456 say DIALER TONES. An idea can change your life. ************** LEGAL DISCLAIMER ************ This E-Mail may contain Confidential and/or legally privileged Information and is meant for the intended recipient(s) only. If you have received this e-mail in error and are not the intended recipient/s, kindly notify us at [EMAIL PROTECTED] and then delete this e-mail immediately from your system. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail, its contents or its attachment/s other than by its intended recipient/s is strictly prohibited and may be unlawful. Internet Communications cannot be guaranteed to be secure or error-free as information could be delayed, intercepted, corrupted, lost, or contain viruses. IDEA Cellular Limited does not accept any liability for any errors, omissions, viruses or computer problems experienced by any recipient as a result of this e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]