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 t
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 for
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
the interfaces
for home, remote and local.
- Robert
Aaron O'Hara wrote:
>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 us
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
workman" being printed only
once and getting a null pointer when you refered to the "task" iteration id.
Bill
Aaron O'Hara wrote:
>The following is my code in the tags:
>
>The tasks for me:
><%=general.getTasks().size() %>
>
> workman!
>
>
>
of task objects in your iteration)? If so, try putting <%= task
%> inside your iteration. Does it print out something like :
com.razorfront.corporate.task.Task@2b835a , x number of times?
Bill
Keith Bacon wrote:
>Maybe you need to use the struts tag
>
>not
>
>K
;t necessary and I think is
> interfering with your iteration id because it has the same id):
>
> class="com.razorfront.corporate.global.General"/>
>
>
>
>
>
> this is assuming:
> 1) the method in General that returns the Arraylist is getTasks()
that returns the Arraylist is getTasks().
2) there is a method in Task called getSubject()
Hope that helps,
Bill
Aaron O'Hara wrote:
>All,
>
>Would somebody be able to point me to an example of iteration with the
>following environmental "restrictions"? I've look
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 an application scope bean with
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.
...
...
In the application scope bean referenced as "general", I have a populated
ArrayList of "service" objects. The "general" bean has a privat
All,
I'm familiar with Java, but new to the struts framework and have what is
probably an elementary question. I'm creating a database-driven application
and on my JSP page I want to populate, amoung many things, a select list.
In options in the select list will be composed of a value which is,
12 matches
Mail list logo