Hi,
use JSTL. Do not spend time with the Struts tags.
here is an example:
Error 1 has occurred.
Error 2 has occurred.
Chipix
On Wed, 05 Jan 2005 01:05:30 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> Look into the expression language's Logical O
request inside an Action
> class. You *can* add attributes to the request context (that's what
> HttpServletRequest was designed for).
>
> So, in your JSTL-aware page, access your request *attribute*:
>
> or
>
>
>
> HTH,
>
> Curtis
>
> dsarris
I do not thing that Hollaway solution is the correct one. I do not
pass it to the request parameter list. As brenmcguire stated, I can
only set an attribute in the Request (not the parameters).
Thus, what is the equivalent for retrieving the attribute in my JSP page?
OR
-
On Tue, 4 Jan 2005 14:37:54 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> >
> > Thus, if I set an attribute using the HttpServletRequest.setAttribute,
> > how can I retrieve it my JSP page?
> > I know that all these can be very easy using an ActionForm, but I do
> > not want to create an Ac
On Tue, 4 Jan 2005 13:31:35 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> > how can I add a request parameter inside an action execute method? Do
> > I have to use an ActionForm or it is an easiest way to do it?
> >
>
> You cannot set a new parameter once a http request has been submitt
Hi,
how can I add a request parameter inside an action execute method? Do
I have to use an ActionForm or it is an easiest way to do it?
chipix
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
On Mon, 3 Jan 2005 17:46:46 +0100, Pavel Kolesnikov
<[EMAIL PROTECTED]> wrote:
> On Mon, 3 Jan 2005 11:16:16 +0200, dsarris <[EMAIL PROTECTED]> wrote:
>
> > I am trying to fill an ActionForm with values that are neither Strings
> > or primitives.
>
> I
Hi all and happy new year,
I am trying to fill an ActionForm with values that are neither Strings
or primitives. The specified values are selected using the
tag. This a sample of my JSP code:
ion language (${} instead of <%= %> )
> > If you don't have a servlet container which supports that by itself, you can
> > use the el-tags to use it at least inside of the struts tags.
> >
> > hth,
> > axel
> >
> > On 2004-12-31 at 13:23
On Fri, 31 Dec 2004 11:26:47 +0200, dsarris <[EMAIL PROTECTED]> wrote:
> On Thu, 30 Dec 2004 09:23:28 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > From: "dsarris" <[EMAIL PROTECTED]>
> > > I am trying to use the tag with the
> > > tag
On Thu, 30 Dec 2004 09:23:28 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "dsarris" <[EMAIL PROTECTED]>
> > I am trying to use the tag with the
> > tag.
> > Do I have to put the collection property inside the form bean of the
> > form t
Hi,
I am trying to use the tag with the
tag. The documentation states that the
optionscollection tag retrieves ithe collection from the bean that is
specified using the name property.
My question is the following:
Do I have to put the collection property inside the form bean of the
form that co
12 matches
Mail list logo