OK, sorry, I thought you were talking about the action.  If you want
at the attributes you can use ${requestScope.attributename} or
${sessionScope.attributename} and if you need to get at the actual
accessors you can use ${pageContext.request.contextPath}
  (*Chris*)

On 8/30/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- afp <[EMAIL PROTECTED]> wrote:
> > [...] but really tat doesn't quite answer the
> > question. In general how do we access the request or
>
> > session in the jsp?
>
> http://struts.apache.org/2.x/docs/ognl.html
>
> > 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
> jsp
> > 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
> used?
>
> d.
>
>
> ---------------------------------------------------------------------
> 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