red
in request/session, sometimes is variable that can be used by jsp scriplet.
If someone could please clearify this for a newbie, I'd really appreciate
it.
thx
Zhu He
- Original Message -
From: "Roy Porter" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <
void setFoo ( String foo ) {
> this.foo = foo;
> }
>
> and the input tag becomes
>
>value='${element.value}'/>
>
> And it works like a champ. Is there anything else I have to do
> to make the HashMap work? Like use a different Base Form cl
supply are the interface to the HashMap,
> and in this case could be a simple Properties class, if the result
> is a set of strings? Is this correct, or am i confused?
>
> I appreciate your help!
>
> -Original Message-
> From: Zhu He [mailto:[EMAIL PROTECTED]
> Sent: Fr
> Ok. So, from the user's perspective, when we do a redirect, they are sent
> to a different location. When we do a forward, they are not, even if the
> content changes?
The content changes to the content of the new page, but address bar stays
the same because all the forwarding is done on the s
if you are using map backed actionForm, make sure getXXX() setXXX() where
XXX matches the name of the map.
In you case function names should be getMap() setMap()
- Original Message -
From: "Ray Madigan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, Ju
;
>
>
>
> This is probably a silly question, but what's the difference between
> forward and redirect?
>
>
> Thanx,
> Ian
>
> Ian D. Stewart
> Open Systems Engineer II
> Enterprise Midrange - Bank One Infrastructure & Operations
> [EMAIL PROTE
for forward we usually do
execute() {
...
return mapping.findForward("listing");
}
I tried to use redirect by
execute() {
ActionForward af = mapping.findForward("listing");
af.setRedirect(true);
return af;
}
but get exception
javax.servlet.ServletException: Configuration
Hi
We can use struts tag to compare the property of a bean to a value, like
Are there struts tags we can use to compare the properties of 2 beans
(without using any jsp scriplet)?
I am a newbie
thx for you patience.
Zhu
8 matches
Mail list logo