There's this one,
http://cvs.apache.org/viewcvs/jakarta-struts/contrib/scaffold/src/framework/main/org/apache/scaffold/http/SuperAction.java
-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/serv
i'm building a test application with struts in order to learn it better.
out of curiosity, i was wondering what sort of useful functionality people
are building into a Base Action class (i.e. a super class for all actions),
and how (in general) they are using them to fulfill specific business
tion between the two.
I would probably choose the first option in most cases.
Hope this helps,
Troy
- Original Message -
From: "Alberto Corona" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 3:19 PM
Subject: Action class question
>
Is an Action class responsbile for performing all
possible actions submitted by a form?
For example, if a Form includes two submit buttons: "New" and "Edit"
Do I create one Action class that handles both actions?
If so how do I check which submit button was pressed? Do I just check on the
HttpReq
4 matches
Mail list logo