There's a tag for this in the struts bean taglib.  Bean:parameter Check
it out:

http://jakarta.apache.org/struts/userGuide/struts-bean.html#parameter

Gary

-----Original Message-----
From: Kevin Williams [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 14, 2003 3:23 PM
To: [EMAIL PROTECTED]
Subject: HELP! get request parameter from a custom tag

 Hi,

I apologize if this already was posted...I posted this earlier today,
but
did not get see it posted...

If anyone can help me with this, it's stopping me from finishing key
portions of my applicaiton!

 I'm new to struts, and I am trying to retrieve a parameter that is in
 the request scope from a tag library.  Currently, I can print out the
 parameter on my jsp page using request.getParameter(name), but in my
 pageContext object in my tag library, I don't have the same list or
 request paramters, all I have are the Struts Form object, Bean object,
 and Error object.

 Somewhere Struts has overriden the default request object, and
 implemented it's own before my custom tag is called.  Would someone
 please tell me how I can retrieve the JSP page's request attributes in
my
custom tag?

 Thanks in advance,

 Kevin Williams




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to