--- yitzle <[EMAIL PROTECTED]> wrote: > How do I get the Request object?
Struts version? S1: It's passed in to Action.execute(...) S2: Implement ServletRequestAware http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/interceptor/ServletRequestAware.html I have no idea why you would want to do that in S2 if all you're doing is accessing a request parameter, and it's a Bad Idea if that's the only reason you need it. > Implementing RequestAware gets me a map... > There's a sun.misc.Request object, but that doesn't > look right... Yeah, probably not. Do you have any familiarity with JEE at all? Have you looked at the S2 docs which *specifically* answer this question? http://struts.apache.org/2.x/docs/how-can-we-access-the-httpservletrequest.html d. ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]