This is really a question for the USER list. If there is any followup,
please continue the thread there.
But, the configuration isn't different from any web application. The
compiled classes can be under WEB-INF/classes or in a JAR under
WEB-INF/lib. The Struts JARs (including the Commons and
Is it needed that ActionForm and Value Object are mapped.
Because my ActionForm for the view is represented as has two attributes with date
from and date to for two textboxes
This is represented in the Value Object as single persistent variable and database as
a single column.
How do I go
ok, though this problem came up dealing with ActionForms, I completely
understand that this is a fundamental Java question, nothing more, so I will
pose it as that only. Also, I am prepared for taking some
thisQuestion(OrYou)DoesntDeserveToBeHere flak:
String s1 = + null;
disguised as an ActionForm question
ok, though this problem came up dealing with ActionForms, I completely
understand that this is a fundamental Java question, nothing more, so I will
pose it as that only. Also, I am prepared for taking some
thisQuestion(OrYou)DoesntDeserveToBeHere flak
That's pretty curious; I would never have thought to do this, and wonder why
you are. Anyway, it seems pretty obvious that s1 == empty String + null
and s1 != null, so it fails the s1 == null test. You, of course, cannot see
the System.out.println of an empty String, with or without a null
Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 8:50 AM
To: 'Struts Users Mailing List'
Subject: RE: java.lang.String question disguised as an ActionForm
question
That's pretty curious; I
]]
Sent: Thursday, June 13, 2002 12:10 PM
To: Struts-User (E-mail)
Subject: ActionForm question
Where do we define where the view gets forwarded to by the ActionServlet
when we encounter
validation errors from an ActionForm in the struts-config.xml file? Or do
we not need to do that at all
Where do we define where the view gets forwarded to by the ActionServlet when we
encounter
validation errors from an ActionForm in the struts-config.xml file? Or do we not need
to do that at all
and the original view gets selected and uses the html:errors/ tag which displays the
errors in
Dont have to answer this.
Sorry, for posting it. Got the answer - Chuck's Chapter 7 talks about it. Thanks.
Muki Soomar
Where do we define where the view gets forwarded to by the ActionServlet when we
encounter
validation errors from an ActionForm in the
I am looking into the same problem... I just read chapter 7 and did not
see anything about it...
HELP?
-Original Message-
From: msoomar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 12:25 PM
To: struts-user
Subject: RE: ActionForm question
Dont have to answer
Isn't it the input attribute of the action tag in the struts-config.xml file?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 4:40 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: ActionForm question
I am looking
to the name of the tile definition and
it works wunderbar
Thanks
-Original Message-
From: LMaciel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 4:34 PM
To: struts-user
Subject: RE: ActionForm question
Isn't it the input attribute of the action tag in the struts-config.xml
Hello,
I could catch out-of-sync process in my wizard process but my Form bean
could have unwanted changes.
Let me explain in more detail.
User is now step 3 screen and click back button in browser and goes back
to step 1 screen.
In step 1 screen, user modify his previous input and click
Hello,
I could catch out-of-sync process in my wizard process but my Form bean
could have unwanted changes.
Let me explain in more detail.
User is now step 3 screen and click back button in browser and goes back
to step 1 screen.
In step 1 screen, user modify his previous input and
Title: ActionForm question
I'm used to work with struts end to handle form's field value I
usually build an ActionForm with the corrisponding getters and
setters..
But this time I have a form to wich the user can add new fields on
line, for example..
[xxx] [yy
Hello,
I've got a functionnal problem with ActionForm:
I fill a form and submit then when I re-display this
form, my old value are display on the form.
How can I initialize the ActionForm after sumit ?
Where the ActionForm is stocked (session, request, ...
) ?
Thanx.
To: [EMAIL PROTECTED]
Subject: ActionForm question ?
Hello,
I've got a functionnal problem with ActionForm:
I fill a form and submit then when I re-display this
form, my old value are display on the form.
How can I initialize the ActionForm after sumit ?
Where the ActionForm is stocked
you the values. If you need a initialized form,
use request instead.
marcel
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: ActionForm question ?
Hello,
I've got a functionnal
Message-
From: Anand Raman [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 12:25 AM
Cc: [EMAIL PROTECTED]
Subject: Re: ActionForm question (repost)
Hi Bryan
I have used both primitive data types like int, float, boolean and
String objects in the ActionForm class..
It has been working fine
Question reposted (never got any responses) -- please respond, someone :)
Question about creating ActionForm beans --
What kinds of data types are supported? I could not find a reference to
this in the docs. For example, I want to have an input box on my forms,
where the user can enter a
Brian,
I think, the best way to have a bean with String properties, and
corresponding form. When you perform data checking convert there to a number
if this field has to be a number. If validation is OK, put to database
converted data.
Maya
Bryan Field-Elliot wrote:
Question reposted (never
Use Strings. However, I think an empty textfield will set its String
property to "" (empty string), not null.
Bryan Field-Elliot wrote:
Question reposted (never got any responses) -- please respond, someone :)
Question about creating ActionForm beans --
What kinds of data types are
if you need to do anything special.
Vic
-Original Message-
From: Bryan Field-Elliot [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: ActionForm question (repost)
Question reposted (never got any responses) -- please respond, someone
Hi Bryan
I have used both primitive data types like int, float, boolean and
String objects in the ActionForm class..
It has been working fine.. Meaning that a text filed which is filled
with a numeric value populates the primitive setter method
appropriatly.. The same happens in the case of a
24 matches
Mail list logo