I am writing a web app that gets information from a user (first and last
names, and their address (street, city, state, zip) ) and the user has
the option to sort the data. Based on direction(ascending or
descending) and what to sort by. Either first or last name.
Now here is my question, I have four Action classes in my web app. I
have them in separate files. Since I am just beginning to learn Struts
I was unaware of the DispatcherAction class. Now that I am aware of it
I am going to use it. There is one question I have though, What class
does my dispatchAction class extend from? I assume its an extension of
some class.
Also, I'm not sure if this is the right place for this but I am having
some object reference problems. What's happening is that when I fill up
the information form with the name and address, I then save those values
to a bean. Once I have all the values in a bean I then save that bean
object into a vector. Now it seams that when I insert a new name into
the vector the first position of the vector is overwritten by the new
info that is being saved into the second position. However when I added
a third name I don't have that same problem. It just enters in
correctly. Now when I go and try and sort the contents of the vector
there seems to be a new object reference. So I guess my question is,
Will the Dispatcher class help with this object reference problem?
-Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]