Re: [struts] sugestion, reusing actions in different contexts

2008-03-24 Thread Dale Newfield
Mihai Scripca wrote: Dale Newfield wrote: D'oh--sorry--I was assuming struts2. My answers are therefore not applicable. -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [struts] sugestion, reusing actions in different contexts

2008-03-24 Thread Mihai Scripca
Dave Newton wrote: I'm pretty much lost at this point. What version of struts are you using? Im using struts 1.2.7 This is not the behaviour of struts but my desired behaviour! The server should get the request: /app/context/formAction.do, execute the action formAction ,then should go

Re: [struts] sugestion, reusing actions in different contexts

2008-03-24 Thread Dave Newton
I'm pretty much lost at this point. What version of struts are you using? --- Mihai Scripca <[EMAIL PROTECTED]> wrote: > the server gets the request: /app/view/formAction.do, executes it then > goes to struts-config.xml to find the forward and finds: >

Re: [struts] sugestion, reusing actions in different contexts

2008-03-24 Thread Mihai Scripca
Dale Newfield wrote: Mihai Scripca wrote: approach 1 defining 2 actions in struts like this: a /view/CerereActEdit.do -> X.class b /edit/CerereActEdit.do -> X.class (same class) c /CerereActEdit.do -> X.class (same class) but it seems that struts, whatever action i ran it always uses c mappi

Re: [struts] sugestion, reusing actions in different contexts

2008-03-24 Thread Dale Newfield
Mihai Scripca wrote: approach 1 defining 2 actions in struts like this: a /view/CerereActEdit.do -> X.class b /edit/CerereActEdit.do -> X.class (same class) c /CerereActEdit.do -> X.class (same class) but it seems that struts, whatever action i ran it always uses c mapping! This is because o

sugestion, reusing actions in different contexts

2008-03-24 Thread Mihai Scripca
I have an idea about the development of struts. If there is another way please let me know! i want to reuse an action in different context like this: i mention that im using this mapping in web.xml : *.do Ive tried 2 approaches approach 1 defining 2 actions in struts like this: a /view/CerereAc