return
a unique value so it's fine for determining if 2 objects are the same or
not.
--- dderry [EMAIL PROTECTED] wrote:
Just so happens that I was curious about this myself the other day. I
found
this in the javadocs for Object.toString():
this method returns a string equal to the value
Just so happens that I was curious about this myself the other day. I found
this in the javadocs for Object.toString():
this method returns a string equal to the value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
So it appears that you don't really get an object pointer
Use the 'property' attribute of the submit tag to change the name that is
assigned to the submit button.
This in my jsp: html:submit property=testsubmit value=Add/ generated
this in the HTML: input type=submit name=testsubmit value=Add
Dave D
- Original Message -
From: Guido Schmutz
Even sadder that (at least here in the States) you'd BETTER be learning it
on your own time. Because if you don't, you're liable to find yourself out
in the street, and some H1-B visa holder sitting in your seat because he HAD
the required skills. Why should they invest anything into training
Hi George,
What I usually do in this case is to have a hidden field in my form that
holds the source: html:hidden property=source value=somepage.jsp/
Then in the perform method I can:
return new ActionForward( request.getParameter( source ) );
There are of course other ways to handle this
Not really a very good recommendation. Such a search could only turn up a
list of hosting companies; with no information as to wheather they are a
GOOD company, or just a bunch of opportunistic blood-sucking leaches. It is
much more likely that subscribers to this list would be able to provide
Do you have an Action Mapping for saveExtraPersonDetails.do? Does it use
also use addExtraPersonDetailsForm? Do you have a form-beans
form-bean name=addExtraPersonDetailsForm
type=package.addExtraPersonDetailsForm/./form-beans entry in
struts-config.xml?
It appears to me that the
D
- Original Message -
From: Tim Sawyer [EMAIL PROTECTED]
Dderry [EMAIL PROTECTED] wrote :
Do you have an Action Mapping for saveExtraPersonDetails.do?
Yes:
actionpath=/saveExtraPersonDetails
type=com.pancredit.tkbespoke.tjs.strutstest.action.AddExtraPersonDetailsPos
Yes. As I understand it, as long as the Action classes are performing
forwards rather than redirects it will all be handled on the server side in
the same request. It is only when a response is returned to the browser that
the request will be ended. On the other hand, if a redirect is performed,
Read the error message carefully. Then look at the attribute values in your
tag. Smack yourself on the forehead with the palm of your hand and say
Dooohhh!
- Original Message -
From: KM [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 22, 2002 2:46 PM
Subject:
Subhendu,
I'm not one of the experts, but I do know one way in which 'input' is used
by the controller. This specifies the page to which the user will be
returned if the ActionForm fails validation.
You can also us it in you Action class by returning new ActionForward(
mapping.getInput() ) if
No
- Original Message -
From: subhendukumar mohanty [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 22, 2002 3:42 PM
Subject: RE: Help needded on Struts-config file
Is this element is mandatory in action mapping?
-Original Message-
Hey Theron,
Let me take a shot at this for you. I don't claim to be an expert (except
when applying for a job ;-) ), so hopefully an expert will correct any
mis-information.
Page scope is valid only for a single page. Typically this MAY be the same
as request scope. However, if your Action
What if your user then hits the Submit button without populating any of the
form fields?
- Original Message -
From: Sid Stuart [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 05, 2002 2:06 PM
Subject: Re: Design question about ActionForm's
.
Sid
dderry wrote:
What if your user then hits the Submit button without populating any of
the
form fields?
- Original Message -
From: Sid Stuart [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 05, 2002 2:06 PM
Subject: Re: Design
Hi Chuck,
I use Vector all the time. I'm curious why who feel that List/ArrayList is
preferable.
Dave D
- Original Message -
From: Chuck Cavaness [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 2:37 AM
Subject: Re: Are Vectors in a FormAction set to null after
I'd be interested in those reviews as well.
Dave Derry
[EMAIL PROTECTED]
- Original Message -
From: Amitkumar J Malhotra [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 10:13 PM
Subject: RE: OReilly Struts book
Has anyone tried
Rob,
Since no one else has yet responded I will take a shot at it.
this is how I would implement it (if I DO understand you correctly). I am
assuming that the relationship between the status label and the numeric
value is pretty stable (since you are storing them in an RDBS I would guess
that
18 matches
Mail list logo