[OT] RE: Pass Javabeans

2007-11-16 Thread Dave Newton
--- [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

RE: Pass Javabeans

2007-11-16 Thread Richard . Ferri
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

RE: Pass Javabeans

2007-11-16 Thread Dave Newton
} >else >{ > throw new > FindOrderDetailException("Order Not Found. > NOT FAILURE."); >} >} >else >{ >throw new > FindOrderDetailExce

RE: Pass Javabeans

2007-11-16 Thread Richard . Ferri
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

Pass Javabeans

2007-11-16 Thread Minghui Yu
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