Can anybody point out some good automated testing strategies for
Struts-based applications?
Ideally, I'd like to run automated tests that simulate an end user:
1) filling out a form and testing for success and expected failure
2) clicking on a url that brings up a result set
I know I could unit
Dan,
In order to preserve a layered approach, there are 2 issues:
1) the display of errors
2) evaluating if an error has occurred
In my Struts applications, I have a Business Logic Layer (BLL) that will
always perform 2). In the Action class, I call the validation function
to check for HTML
Heather,
It's hard to say if there is a right or wrong approach, but I'll let you
know what I do and why. When deciding on an implementation, keep in
mind the following factors and what priority they have: readability,
maintainability, development time, operational speed, memory efficiency.
For
as Nash pointed out, EJBs can be simplier from
the perspective that any good app server can build the database for you
and with tools like XDoclet, you don't have to write deployment
descriptors and you don't have to maintain (i.e. code) the interfaces
for home, remote and local.
- Robert
Aaron
I know this question has probably been asked before, and that biased
publications have had their opinions on it, but I wanted to get some
feedback regarding some real user experience regarding the use of EJB
in a web application used along with Struts.
I am creating a web application and I have
,
--- Aaron O'Hara [EMAIL PROTECTED] wrote:
If I take out the useBean for task I get the following error:
javax.servlet.ServletException: Cannot find bean task in scope null
Any suggestions?
Aaron
-Original Message-
From: Bill Clinton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06
to the task iteration id.
Bill
Aaron O'Hara wrote:
The following is my code in the body tags:
The tasks for me:
%=general.getTasks().size() %
logic:iterate id=task name=general property=tasks
workman! br
/logic:iterate
The scriptlet asking for size returns 3, but the text workman! appears
Aaron O'Hara wrote:
All,
Would somebody be able to point me to an example of iteration with the
following environmental restrictions? I've looked at sample code, but
nothing seems to meet 100% what I'm trying to do and I'm still tearing my
head out trying get get it to work.
I have
All,
I'm pulling my hair out try to figure out iterating. The code below does
not iterate through an ArrayList like I'd like it to.
jsp:useBean id=general scope=application
class=com.razorfront.corporate.global.General/
jsp:useBean id=service scope=page
9 matches
Mail list logo