Re: [OT] Re: [action question]

2007-08-16 Thread meisam sarabadani
I suppose basser is right, Spring is supporting more frameworks and more architectures, it is easier to work with. On 8/16/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- meisam sarabadani wrote: > > If you wanna compare them which one do u like the > > most ? and why? can we say which one s be

Re: [OT] Re: [action question]

2007-08-16 Thread Dave Newton
--- meisam sarabadani wrote: > If you wanna compare them which one do u like the > most ? and why? can we say which one s better ? or > this is a wrong question may be ? Probably the wrong question. Spring *does* have an MVC web application framework; you could compare *that* with Struts (in whi

RE: [OT] Re: [action question]

2007-08-16 Thread Baseer Patel MD
: Re: [OT] Re: [action question] If you wanna compare them which one do u like the most ? and why? can we say which one s better ? or this is a wrong question may be ? thank you On 8/16/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > Struts is a web application framework. > > Spri

Re: [OT] Re: [action question]

2007-08-16 Thread meisam sarabadani
dani <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Thursday, August 16, 2007 7:54:25 AM > Subject: Re: [action question] > > can anybody tell me the differences between Spring and Struts ? > > Im confused over here :(( > > On 8/16/07, Dave Newton <[E

[OT] Re: [action question]

2007-08-16 Thread Dave Newton
ssage From: meisam sarabadani <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Thursday, August 16, 2007 7:54:25 AM Subject: Re: [action question] can anybody tell me the differences between Spring and Struts ? Im confused over here :(( On 8/16/07, Dave Newton <[EMAIL PROTECTED]>

Re: [action question]

2007-08-16 Thread Eugen Stoianovici
Dave Newton wrote: can i forward an action to another action using the result tag in action mappings? Yes; result type is redirect-action [1] ([2] for all types). See [3] regarding action mapping configuration. d. [1] http://struts.apache.org/2.x/docs/redirect-action-result.html [2] htt

Re: [action question]

2007-08-16 Thread meisam sarabadani
can anybody tell me the differences between Spring and Struts ? Im confused over here :(( On 8/16/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > > can i forward an action to another action using the result > > tag in action mappings? > > Yes; result type is redirect-action [1] ([2] for all types)

Re: [action question]

2007-08-16 Thread Dave Newton
> can i forward an action to another action using the result > tag in action mappings? Yes; result type is redirect-action [1] ([2] for all types). See [3] regarding action mapping configuration. d. [1] http://struts.apache.org/2.x/docs/redirect-action-result.html [2] http://struts.apache.org/

[action question]

2007-08-16 Thread Eugen Stoianovici
can i forward an action to another action using the result tag in action mappings? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts2.0 action question

2006-12-13 Thread Don Brown
You need to create static field variables for those constants in your Action class: public static final String READ = "read"; public static final String WRITE = "write"; Don On 12/13/06, red phoenix <[EMAIL PROTECTED]> wrote: I am puzzled with struts2.0 action file,my files are follows: confi

struts2.0 action question

2006-12-13 Thread red phoenix
I am puzzled with struts2.0 action file,my files are follows: configure file is follows /chat/read.jsp /chat/write.jsp action file is follows: public String execute() throws Exception { String flag=request.getParameter("flag"); if("1".equals(flag)) return SUCCESS; else if("2".equ

Re: Action Question

2005-03-24 Thread K.C. Baltz
t Purcell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 11:55 AM To: user@struts.apache.org Subject: Action Question Hello, I have a form, which has an attached bean. I am doing validation, so I have good data going to my action. In the action, I take the bean with good data, a

RE: Action Question

2005-03-23 Thread Scott Piker
ginal form with their original data, use the input mapping. - Scott -Original Message- From: Fogleson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 1:26 PM To: Struts Users Mailing List Subject: RE: Action Question Before forwarding to failure try this... Action: Publ

RE: Action Question

2005-03-23 Thread Fogleson, Allen
lable to the jsp and it should show the data you have in it. Al -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 11:55 AM To: user@struts.apache.org Subject: Action Question Hello, I have a form, which has an attached bean. I am doing v

Action Question

2005-03-23 Thread Scott Purcell
Hello, I have a form, which has an attached bean. I am doing validation, so I have good data going to my action. In the action, I take the bean with good data, and hand it to a DTO object which updates the database with the new user supplied information. What can I do in the Action if my DTO

RE: General Action Question

2005-01-10 Thread Jim Barrows
> -Original Message- > From: Brandon Mercer [mailto:[EMAIL PROTECTED] > Sent: Monday, January 10, 2005 11:06 AM > To: user@struts.apache.org > Subject: General Action Question > > > Hello Group, > I'm reading an off the shelf book about DynaActionFor

General Action Question

2005-01-10 Thread Brandon Mercer
Hello Group, I'm reading an off the shelf book about DynaActionForms and I've got a question about best practice stuff. In this book it says that you need to create an Action to work with the info you got much the same as the ActionForm you typically use. In my previous work I've always just s

RE: Basic Action Question (I need more sets of eyes)

2004-09-19 Thread David G. Friedman
[mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 1:10 AM To: [EMAIL PROTECTED] Subject: Basic Action Question (I need more sets of eyes) Hi I've been staring at this for a while and I can't see what's wrong. Maybe one of you can help me out. I'm trying to create

Basic Action Question (I need more sets of eyes)

2004-09-19 Thread John Mattos
Hi I've been staring at this for a while and I can't see what's wrong. Maybe one of you can help me out. I'm trying to create a basic login form. The form validation part is working (comes back and tells me that uid or pw has to be entered if I neglected to) but it SEEMS that the LoginActi

Basic Action Question (I need more sets of eyes)

2004-09-19 Thread John Mattos
Hi I've been staring at this for a while and I can't see what's wrong. Maybe one of you can help me out. I'm trying to create a basic login form. The form validation part is working (comes back and tells me that uid or pw has to be entered if I neglected to) but it SEEMS that the LoginActi