struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Retrieving HTTP query string
Date Mon, 04 Jun 2007 18:00:59 GMT
--- yitzle <> wrote:
> How do I get the Request object?

Struts version?

S1: It's passed in to Action.execute(...)

S2: Implement ServletRequestAware

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


Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories
at Yahoo! Games.  

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message