struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: How to access request & session objects in jsp using struts2 tags
Date Thu, 30 Aug 2007 17:09:12 GMT
--- afp <> wrote:
> [...] but really tat doesn't quite answer the 
> question. In general how do we access the request or

> session in the jsp?

> Will what I have given below work 

Does it work?

> or what shud I be doing to make it work!

I think the dot-notation will cause you problems, but
I could be wrong about that--you might be able to
coerce it somehow.

Or you could set a flag in the action or expose an
object that holds the request value.

> The requirement is tat I need to access it in the
> and not in the action class method. 

Really? Or is the requirement that you be able to make
decisions in the JSP based on which submit button was


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

View raw message