Tom Holmes Jr. wrote:
Michael, I think you missed the whole point of what I was getting at.
Just one more thing, Tom. Not only do I think I said essentially what
Jim and Erik said but I said the same thing at a more abstract level. I
don't think that you really want a DTO in the classical sen
Tom Holmes Jr. wrote:
Michael, I think you missed the whole point of what I was getting at.
Forgetting about the CRUD application for a minute, maybe I should
have said I was creating:
a web-application that takes data from a jsp web-page form, and file
that data to the database. I also want to
From what Erik Weber was saying the DTO is almost like the "form-bean"
except that the "form-bean" contains mostly strings because it is data
from the JSP web-page form, and the DTO will hold the information that
it gets from the database, so it will have ints, strings, booleans,
dates etc.
I
Erik, thanks so much for the help. It is very useful I was
confused about a couple of the classes, but I think you helped me to
figure it out. I know from my first Struts application a Login
application, that I needed the LoginForm (to contain the username and
password) a LoginAction to
Michael, I think you missed the whole point of what I was getting at.
Forgetting about the CRUD application for a minute, maybe I should have
said I was creating:
a web-application that takes data from a jsp web-page form, and file
that data to the database. I also want to be use jsp web-page f
Tom Holmes Jr. wrote:
I'm still a Struts newbie, but I have some confusion on the amount of
classes I need to use in order to create a CRUD application.
I said you should not worry about struts when doing this and I will
expand below:
From what I can see I need a "form bean" in order to capture
Tom Holmes Jr. wrote:
I'm still a Struts newbie, but I have some confusion on the amount of
classes I need to use in order to create a CRUD application.
The confusion, I would suggest is that you are connecting the CRUD
application to struts. The application should be entirely decoupled.
Stru
e) if there is an error, then we should return false to the action
class so we can take the action as defined in the struts-config.xml
file.
You can do this, but I prefer to return String or void and throw
Exceptions from the "backend" to the Action class, rather than
returning true or false
I think you pretty much have it right. But . . .
Tom Holmes Jr. wrote:
I'm still a Struts newbie, but I have some confusion on the amount of
classes I need to use in order to create a CRUD application.
From what I can see I need a "form bean" in order to capture the data
from the JSP page. This
> -Original Message-
> From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 4:04 PM
> To: Struts Users Mailing List
> Subject: Confusion in Classes
>
>
> I'm still a Struts newbie, but I have some confusion on the amount of
> classes I need to use in order
10 matches
Mail list logo