Hi,
I am using the Struts Database pooling.
My database connection is realised after the sample in the Struts User's
Guide.
http://jakarta.apache.org/struts/userGuide/building_model.html#databases
But I think the sample is very contradicting.
In chapter 2.5 Business Logic Beans is said:
For
To: Struts Users Mailing List
Subject: Database access design question
Hi,
I am using the Struts Database pooling.
My database connection is realised after the sample in the Struts User's
Guide.
http://jakarta.apache.org/struts/userGuide/building_model.html#databases
But I think the sample is very
not necessarily following the best
practices, they are more like proof of concepts than anything else.
Rgs
Vikram
-Original Message-
From: rainer juenger [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 1:45 PM
To: Struts Users Mailing List
Subject: Database access design question
design question
I want to accesss the database from a business logic bean that should not
emplement *.servelet.* classes.
But how can I then initialize the DataSource?
like: dataSource = servlet.findDataSource(null);
??
Thanks Rainer
What exactly is your question?
The samples given with Struts
juenger [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 2:04 PM
To: Struts Users Mailing List
Subject: Re: Database access design question
I want to accesss the database from a business logic bean that should not
emplement *.servelet.* classes.
But how can I then initialize
Mailing List
Subject: RE: Database access design question
1. Do not use the session bean to access the datasource... create a data
access object which locates the datasource.
2. Lookup the datasource using a jndi name not a servlet. Register your
datasource with the jndi server. (Does the servlet
To: struts-user
Subject: Re: Database access design question
I want to accesss the database from a business logic bean that should
not
emplement *.servelet.* classes.
But how can I then initialize the DataSource?
like: dataSource = servlet.findDataSource(null);
??
Thanks Rainer
What exactly is your
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 9:39 AM
To: [EMAIL PROTECTED]
Subject: RE: Database access design question
I did something and I have been wondering if it is right... So this may
be a good time.
I have three levels in my
design question
It sounds like your DAO is really a business object and your db object
follows the DAO design pattern. I think you have the right concept
though.
You may want to check out http://groups.yahoo.com/group/model_struts/.
It
is dedicated to discussing the model layer using Struts
]]
Sent: Monday, June 10, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: RE: Database access design question
Thanks for the feedback on that one. No matter how I sliced that one I
always had some kind of problem with how I was seperating everything
up...
I think the part that really confused me
On Monday, June 10, 2002, 10:13:34 AM, wbchmura wrote:
wEBc I took a quick look at the yahoo site - and will pursue that further,
wEBc but can you recommend any write-ups anywhere on this?
I just went through the same struggles you are going through.
Robert wrote up a great post
pageContext, sessions or what so ever. There must be
a way!
thanks 1000 times for a hint!
Rainer
- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 3:17 PM
Subject: RE: Database access design question
I'm
- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 3:17 PM
Subject: RE: Database access design question
I'm needing to move my data access from my Actions to a 'pure' business
bean. Does anyone
acts correctly.
My head hurts sometimes, but the voices tell me it will be okay...
-Original Message-
From: maillist [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 10:29 AM
To: struts-user
Subject: Re[2]: Database access design question
On Monday, June 10, 2002, 10:13:34 AM
);
}
-Original Message-
From: jakarta.rainer [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 11:47 AM
To: struts-user
Subject: Re: Database access design question
Sorry but I am in another galaxy as you guys are. My problems are not
that
complex yet and my knowledge isn't
On Mon, 10 Jun 2002 [EMAIL PROTECTED] wrote:
Date: Mon, 10 Jun 2002 13:35:33 -0400
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: Re[2]: Database access design question
ANY information on this would
...
-Original Message-
From: craigmcc [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 3:05 PM
To: struts-user
Cc: maillist
Subject: RE: Re[2]: Database access design question
On Mon, 10 Jun 2002 [EMAIL PROTECTED] wrote:
Date: Mon, 10 Jun 2002 13:35:33 -0400
From: [EMAIL PROTECTED
From: Yaman Kumar [EMAIL PROTECTED]
I have a AformBean in A.jsp and the page action is actionA, actionA
processed
all AfromBean values and got some dynamic data from Database,Now i
would like to keep this data in BFormBean and the actionA forwards the
output to B.jsp how to keep the data
Hi,
I have a design question of struts implementation in my application,
I have a AformBean in A.jsp and the page action is actionA, actionA
processed
all AfromBean values and got some dynamic data from Database,Now i
would like to keep this data in BFormBean and the actionA forwards the
output
'
Subject: RE: Struts + Tiles: Design Question
Cedric,
You are right on the point. I been using this strategies over and over
again to share from amon difference action. I works well for me, plus I
really hate having JavaScript or hidden field to indicate which action your
are intended
There is several strategies.
Are you sure that you need one single form for navigation and body ?
* If navigation and body aren't related, you can put several forms, only one
will be selected by browser when submitting.
* If navigation and body are related, you need a common
Subject: Re: Struts + Tiles: Design Question
There is several strategies.
Are you sure that you need one single form for navigation and body ?
* If navigation and body aren't related, you can put several forms,
only one will be selected by browser when submitting
you workaround it?
Sri
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 11:33 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts + Tiles: Design Question
Cedric,
You are right on the point. I been using this strategies over and over
again
.
-Original Message-
From: Sri Sankaran [SMTP:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 9:37 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts + Tiles: Design Question
I am unable to use a common ancestor because some tags (such as
html:select, html:radio) must be nested
Struts version: 1.0.2
Servlet engine: Tomcat 4.0.2
I am trying to build a wizard framework using Tiles. It follows the standard Windows
wizard metaphor with a body panel and navigation buttons below. I am running into a
problem and would like any opinions/suggestions.
A logical use of Tiles
: Struts + Tiles: Design Question
Struts version: 1.0.2
Servlet engine: Tomcat 4.0.2
I am trying to build a wizard framework using Tiles. It follows the
standard Windows wizard metaphor with a body panel and navigation buttons
below. I am running into a problem and would like any opinions
are modified as well.
Thanks
Sri
-Original Message-
From: Graham Lounder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 2:07 PM
To: Struts Users Mailing List
Subject: Re: Struts + Tiles: Design Question
Just a quick suggestion. Couldn't you use javascript in your nav.jsp
And I simply overlooking a parameter of a particular tag, or is there no way
to test a boolean isXxxx method with a Struts tag? Is the logic:equals
the best we have (due to the reliance upon beans)?
Mark
that only users in the given role can access the action. Never used this
feature so I'm not sure what happens if the user is not in the role.
Jon Ridgway
-Original Message-
From: Chong Oh [mailto:[EMAIL PROTECTED]]
Sent: 08 May 2002 21:10
To: 'Struts Users Mailing List'
Subject: Design
.
Will Spies/Towers Perrin [EMAIL PROTECTED] on 04/29/2002 04:08:04 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: Re: Design question
Good idea but the other problem
)
ife.com Subject: Re: Design question
In my opinion, most ( if not all ) links should be Action URIs. What I mean
is, struts views should not post to urls which are JSP struts views.
Rather, valid URLs that are posted to ( or even referenced in ) should
always be controllers. For those who agree with this philosophy, can you
give
[EMAIL PROTECTED]
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: Design question
In my opinion, most ( if not all ) links should be Action URIs. What I mean
is, struts views should not post to urls which are JSP struts views.
Rather, valid URLs that are posted to ( or even referenced
Users Mailing List
[EMAIL PROTECTED]
Kevin.Bedell@sunlcc: (bcc: Will Spies/Towers
Perrin)
ife.com Subject: Re: Design question
Users Mailing List
Subject: Re: Design question
Good idea but the other problem is your web server doesn't mix with
non-Struts applications. I was kinda hoping for a struts only solution.
Thanks for the idea though!
___
Will Spies
Towers Perrin
Phone: (215)246-7145
thread.
JM
-Original Message-
From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 4:08 PM
To: Struts Users Mailing List
Subject: Re: Design question
Good idea but the other problem is your web server doesn't mix with
non-Struts applications
Hi All,
I am wondering about a design issue since I can not figure out why Craig
implemented in that way. Any light or opinion would be appreciated.
The point is that usually, AFAIK, results from database queries are planned
to be stored in ArrayLists of beans. This ArrayList of beans is sent
Subject: Re: Presentation Layer Design Question
From: Vic Cekvenich [EMAIL PROTECTED]
===
Can't speak for Craig, but the Beans give me a way to isolate the DB
layer. I use CachedRowSet to hold Result and have meta data at any time.
It is one step and does not do mapping.
Since the DB layer
I'm just curious about a design issue with Struts 1.1. The html:link/ tag
has a forward attribute that lets you specify an entry from
struts-config.xml as the destination of the link. That way you aren't tied
to a particular action or a particular JSP/HTML page. Why isn't there a
similar
On Sat, 13 Apr 2002, Wellie W. Chao wrote:
Date: Sat, 13 Apr 2002 10:57:29 -0400
From: Wellie W. Chao [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Struts design question re: form action
I'm just curious
Subject: Nested Beans and Design Question
From: Matt Raible [EMAIL PROTECTED]
===
I have the following structure in my application
CourseForm
-- TopicForm
-- PageForm
-- AssetForm
Where a CourseForm has an ArrayList of TopicForms, TopicForm has an
ArrayList
Subject: Re: Nested Beans and Design Question
From: Vic Cekvenich [EMAIL PROTECTED]
===
#3.
I am not sure arrays are best (then again they might be).
Why just not retrieve a list of topics for the course, and click on a
topic and retrieve a list of assets, etc?
Vic
Matt Raible wrote:
I
Managing JavaScripts in a Struts application is not much different than
managing it any Java application, so everything you've already read
should apply.
One trick is to use the html:rewrite tag to resolve the address to
JavaScripts and other HTML assets, so that the path does not have to be
Greetings.
We are in the early planning stages of a rather large Java/jsp application
that if I have my way will use struts. There will be a requirement for some
convenience features that will need to be in javascript. I understand the
pros's and con's of javascript and this will for
Hi all,
I've studied the design paper that Ted has put up at his site
(http://husted.com/about/scaffolding/strutByStrut.htm) . Very clear
explanation Ted, it only left me with one question. In your paper you state
that every form should have its own action. However for my last project (and
my
return ( performAction(mapping,form,request,response, myParameter )
)
}
where performAction is an abstract method of the base class.
...
-Original Message-
From: Ronald Haring [mailto:[EMAIL PROTECTED]]
Sent: 05 March 2002 12:15
To: '[EMAIL PROTECTED]'
Subject: design question
Hi
If key tasks needs to be completed in each Action's perform()
method, a good
approach is to create a new abstract methods for your
subclasses to use in
lieu of perform(). The base Action class does its business,
and if all is
well, then returns the result of the new method. This allows
List'
Subject: RE: design question
If key tasks needs to be completed in each Action's perform()
method, a good
approach is to create a new abstract methods for your
subclasses to use in
lieu of perform(). The base Action class does its business,
and if all is
well, then returns
Ah yes,
that is a solution. But then you have to keep the general data in session
indeed, which I never feel to comfortable about. But thx for the pointer.
Gr
Ronald
i see
I am looking to build something similar and I am thinking of
managing this
through the action mappings.
I am hoping
You have to keep the data in the session or write it to the database. (Storing
it on each form as hidden fields seems too fiddly to me).
Unless you have huge volumes I actually prefer to save it on the database
have a status field that indicates the data is incomplete.
--- Ronald Haring [EMAIL
it.
HTH,
Eddie
- Original Message -
From: Ronald Haring [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, March 05, 2002 7:07 AM
Subject: RE: design question
Ah yes,
that is a solution. But then you have to keep the general data in session
indeed, which I
-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 3:47 PM
To: Struts Users Mailing List
Subject: Re: design question
There's really no reason not to keep the data in the session.
The session
is server-side and is not transmitted to the client, so it's
secure. I
You have to keep the data in the session or write it to the
database. (Storing
it on each form as hidden fields seems too fiddly to me).
Unless you have huge volumes I actually prefer to save it on
the database
have a status field that indicates the data is incomplete.
that is true for
A third option people have mentioned is to serialize the form-bean as a
single hidden field. As part of validate, you can repopulate any null
fields.
Never actually tried this one myself, but it seems clever.
-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications
At this point, I rarely write custom Actions any more. Now I try to use
a framework action to handle all the usual action-stuff, and pass it the
name of a business bean to invoke as part of the ActionMapping. At this
point, I'm creating moderately complex application using only the stock
actions
this looks very nice indeed. I will look into this some more. Thx Ted
Gr
Ronald
At this point, I rarely write custom Actions any more. Now I
try to use
a framework action to handle all the usual action-stuff, and
pass it the
name of a business bean to invoke as part of the
The standard DispatchAction can be a handy way to keep various tasks
together in the same Action, where they can share code, but without
getting into kludgy performs. Dispatch lets you have a separate perform
for each task, but all in the same Action, where they can be easier to
maintain.
Hi Folks:
thanks to your help, you indicated that the Action should preload form
values on a maintenance form. This works great.
I have an Action object that allows maintenance on a table (call it table
A). This action object handles preloading of data
as well as the actual updating of
Subject: Struts design question about maintenance screens
Hi Folks:
thanks to your help, you indicated that the Action should preload form
values on a maintenance form. This works great.
I have an Action object that allows maintenance on a table (call it table
A). This action object handles
. (608) 935-4526
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:10 AM
To: Struts Users Mailing List
Subject: Struts design question about maintenance screens
Hi Folks:
thanks to your help, you
:
Subject: RE: Struts design question
about maintenance screens
02/21/02 09:38 AM
Please respond
Subject: Struts design question about maintenance screens
Hi Folks:
thanks to your help, you indicated that the Action should preload form
values on a maintenance form. This works great.
I have an Action object that allows maintenance on a table
(call it table
A). This action
Ghoot@PETROTECHNTo: Struts Users Mailing List
[EMAIL PROTECTED]
ICS.co.uk cc:
Subject: RE: Struts design question
about
Cc: [EMAIL PROTECTED]
Subject: RE: Struts design question about maintenance screens
Wow!
Great reply. I am saving this one.
thanks,
Theron
Emaho, Ghoot
Ghoot@PETROTECHNTo: Struts Users Mailing
List [EMAIL PROTECTED
PROTECTED]
cc:
Subject: Re: Design question about ActionForm's validate method
In 1.0.x, it is often suggested that each link at least be represented
by an ActionForward. This centralizes control over the hyperlinks in the
Struts Config, which yields a number of benefits.
In Struts 1.1, now
://www.alexparansky.com
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 3:47 PM
To: Struts Users Mailing List
Subject: Re: Design question about ActionForm's validate method
In 1.0.x, it is often suggested that each link at least
RE: Design question about ActionForm's validate method
The process we followed is very simular to what Ted suggested but depends on
how you are approaching the construction of your actions. If you have the
ability to write a collection of objects that handle storing and retreiving
data
Users Mailing List
Subject: Re: Design question about ActionForm's validate method
RE: Design question about ActionForm's validate method
The process we followed is very simular to what Ted suggested but depends on
how you are approaching the construction of your actions. If you have the
ability
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: RE: Design question about ActionForm's validate method
Matt,
I also disagree that you should only use actions when submitting a form. I
also believe that in most cases you should never forward a request directly
RE: Design question about ActionForm's validate methodFor reference I wanted
to share how we are using the action framework in our web application. Every
single call to every single view on our web site goes through Struts. There
are several reasons for this, one we are using Tiles for navigation
Subject: Re: Design question about ActionForm's validate method
RE: Design question about ActionForm's validate methodFor reference I wanted
to share how we are using the action framework in our web application. Every
single call to every single view on our web site goes through Struts
this is preferred?
Thanks.
-AP_
http://www.alexparansky.com
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 2:02 PM
To: Struts Users Mailing List
Subject: Re: Design question about ActionForm's validate method
The best
Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 3:47 PM
To: Struts Users Mailing List
Subject: Re: Design question about ActionForm's validate method
In 1.0.x, it is often suggested that each link at least be represented
by an ActionForward. This centralizes control over
Hi,
I've stumbled across a subtle problem/design question that I don't see
mentioned in the documentation.
The ActionForm's validate method can be configured to verify form data
from a page and generate error messages which may then be displayed on
the page for the user to see. This works fine
Message-
From: Sid Stuart [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 12:25 PM
To: Struts Users Mailing List
Subject: Design question about ActionForm's validate method
Hi,
I've stumbled across a subtle problem/design question that I don't see
mentioned in the documentation
to Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: Design question about ActionForm's validate method
Hi,
I've stumbled across a subtle problem/design question that I don't see
mentioned in the documentation.
The ActionForm's validate
to retrieve the correct data.
6. /pages/findClientResults.jsp renders the results from the database.
Matt.
-Original Message-
From: Jonathan Gibbons [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2002 17:44
To: Struts Users Mailing List
Subject: Re: Design question about ActionForm's
easier to replace the ForwardAction to a custom action.
It sounds to me like you are on the right track.
-Rob
-Original Message-
From: Matt Read [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 12:59 PM
To: Struts Users Mailing List
Subject: RE: Design question about ActionForm's
(error.logon.passwordRequired));
}
return errors;
}
Sid
Sid Stuart wrote:
Hi,
I've stumbled across a subtle problem/design question that I don't see
mentioned in the documentation.
The ActionForm's validate method can be configured to verify form data
from a page and generate
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
PM
Subject: Re: Design question about ActionForm's validate method
Hi,
My friend, Lee Crawford, just pointed out to me that the fields of the
ActionForm will be null if the validate method is called before the form
is
submitted, but will be non-null afterwards. This provides a quick
True, so I guess the null test will work.
- Original Message -
From: Sid Stuart [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 05, 2002 2:55 PM
Subject: Re: Design question about ActionForm's validate method
You get a zero length string
Mailing List
Subject: Re: Design question about ActionForm's validate method
You get a zero length string.
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
Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/
Sid Stuart wrote:
Hi,
I've stumbled across a subtle problem/design question that I don't see
mentioned in the documentation.
The ActionForm's validate method can be configured to verify form data
from
Hello,
First, I would like to apologize for the size of this post. I seem to be
missing one thing here and can't seem to put my finger on it.
We have a database which contains most of the translations for our
applications messages and database fields/column labels. There is one table
which
is neccessary, for SaveAction, then we need
validation.
CHeers,
Yee Keat
- Original Message -
From: Robert Scaduto [EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
Sent: Feb 6, 2002 2:31:19 AM GMT+08:00
Subject: RE: Design question about ActionForm's validate method
Matt,
I
, February 05, 2002 2:02 PM
To: Struts Users Mailing List
Subject: Re: Design question about ActionForm's validate method
The best practice now is to use ActionMappings for everything, so that
the reqeust passes through the controller.
This buys you several important capabilities that become
I'm fairly new to Struts and have just built my first mini-project. I have
a basic question that I couldn't find addressed in the mail archives.
I think I understand the input half of a user interaction - when
information is input by the user, it is handled on the server via the
ActionServlet
Hi Mattias,
The form bean is designed for easing the coding for moving of data from action
class to HTML form vice versa.
Has any-one got a good case for doing anything else?
Keith.
--- Struts Newsgroup [EMAIL PROTECTED] wrote:
Subject: Re: Design question on loading form data
From: Vic
.
Reset() is invoked automatically by struts. Specifically you cannot detect
changes to checkboxes unless they are reset first.
- Original Message -
From: Mattias Norlander [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 19, 2002 8:52 AM
Subject: Design question on loading
Hello!
If i want to fill a form with data (from, say a database) before showing
it to the user: Can this be done in reset() method of the form, or should
it be in the perform() method of the action class?
I think that doing it in the reset() method produces the cleanest code.
This can be done
Subject: Re: Design question on loading form data
From: Vic Cekvenich [EMAIL PROTECTED]
===
Here is sample pseudo code illustrating for one approach in
action/perform. Call for the model bean to populate in the action's
perform. Maybe the code of that retrieval and anything else having to do
/struts/
Kuntz Peter, NY wrote:
Hi,
I have a general design question. Assume a web application that represents a
use case over several sites. Each of these sites have form fields. Each site
has a Next and Previous button except the last an the first which only
have either a Next
Hi,
I have a general design question. Assume a web application that represents a
use case over several sites. Each of these sites have form fields. Each site
has a Next and Previous button except the last an the first which only
have either a Next or a Previous button. Additionally
PROTECTED]]
Sent: 18 December 2001 11:07
To: struts users mailing list
Subject: PLEASE COMMENTS! Design question on very long lists... (a little
bit OT)
Hi to all!
I strongly appreciate struts - it a very valuable tool to work with. So I
started to build a EIS-similar application with much DB-Access
Hi to all!
I strongly appreciate struts - it a very valuable tool to work with. So I started to
build a EIS-similar application with much DB-Access, business code and so on... (try
to work with Jonas EJB Server). But there arer some design question and I do
appreciate comments on these.
I
Subject: PLEASE COMMENTS! Design question on very long lists... (a little
bit OT)
Hi to all!
I strongly appreciate struts - it a very valuable tool to work with. So I
started to build a EIS-similar application with much DB-Access, business
code and so on... (try to work with Jonas EJB Server
, 2001 12:07 PM
To: struts users mailing list
Subject: PLEASE COMMENTS! Design question on very long lists... (a
little bit OT)
Hi to all!
I strongly appreciate struts - it a very valuable tool to work with. So I
started to build a EIS-similar application with much DB-Access, business
code and so
But my beans already contain the validation! Besides, performing the
validation in the ActionForm is effectively tying business logic (data
validation) to the web framework dontya think?
Well, I put data type and required field validation only in the bean.
Validation that is more advanced
I need to create some select option lists that are populated from a
database. The call to the database will pass in the current user's id to
create customized option lists. Where is the best place to create these
option lists? If I create the lists in the user form, how can I pass in the
user id?
201 - 300 of 382 matches
Mail list logo