--- [EMAIL PROTECTED] wrote:
> For maintainable code, look at the patterns I went
> into. If you are writing a very large application,
they
> will make your application easier to debug and
maintain
> in the future.
It's not so much that I'm unfamiliar with writing
large applications but that the
Sent: Friday, November 16, 2007 5:10 PM
To: Struts Users Mailing List
Subject: RE: Pass Javabeans
Wow, that was a lot of code.
The expurgated version is that in Struts 1 there are
two basic ways to do it: put the bean into a scope,
generally request or session, or set properties on
your Actio
}
>else
>{
> throw new
> FindOrderDetailException("Order Not Found.
> NOT FAILURE.");
>}
>}
>else
>{
>throw new
> FindOrderDetailExce
nd in
request.");
}
}catch(FindOrderDetailException fod)
{
//Return action errors to the user
}
}
-Original Message-----
From: Minghui Yu [mailto:[EMAIL PROTECTED]
Sent: Friday, November 16, 2007 4:40 PM
To: Struts Users Mailing List
Hi folks,
I know it is a stupid question. But how shall I pass JavaBeans from an
Action object to a JSP page? Use setAttribute('xxx',xxx)?
I have a list of JavaBeans that I want to pass to JSP pages to display
one by one.
Shall be a very simple question to anyone who is not a brand ne
5 matches
Mail list logo