Re: Struts 1.3: MappingDispatchAction and forms??

2009-07-02 Thread Paul Benedict
nggroupMembers.jsp". There, i want to implement > three html forms in one jsp for "add", "edit" and "delete" an entry. > > So i added a mappingDispatchAction "SelectCallinggroupMembersAction" which > handles the action c

Struts 1.3: MappingDispatchAction and forms??

2009-06-30 Thread Florian Rustedt
Hi, i want to do follwing: after Login, i am at "showCallinggroupMembers.jsp". There, i want to implement three html forms in one jsp for "add", "edit" and "delete" an entry. So i added a mappingDispatchAction "SelectCallinggroupMembersAction&qu

Struts 1.3: MappingDispatchAction and forms??

2009-06-30 Thread Florian Rustedt
Hi, i want to do follwing: after Login, i am at "showCallinggroupMembers.jsp". There, i want to implement three html forms in one jsp for "add", "edit" and "delete" an entry. So i added a mappingDispatchAction "SelectCallinggroupMembersAction" w

Re: Null mapping reference in MappingDispatchAction

2008-12-18 Thread Paul Benedict
Do you have a stack trace? On Tue, Dec 2, 2008 at 2:36 PM, Adam Gordon wrote: > Hi- > > We're using a MappingDispatchAction (Struts 1.2.9) and occasionally when a > user makes a request to the URI for this action we get a > NullPointerException in the class because the A

Null mapping reference in MappingDispatchAction

2008-12-02 Thread Adam Gordon
Hi- We're using a MappingDispatchAction (Struts 1.2.9) and occasionally when a user makes a request to the URI for this action we get a NullPointerException in the class because the ActionMapping is null. Other than saying "mapping = null," does anyone have any idea h

Re: Issue with MappingDispatchAction

2006-09-12 Thread Adam J Samere
I get the following error: Error 404: No target servlet configured for uri:/DownloadSearch Any ideas why this is coming up? As for the use LookupDispatchAction, like I mentioned before, MappingDispatchAction is extended in a base class that we all must use for the project that we are working

Re: Issue with MappingDispatchAction

2006-09-12 Thread Ruepen
use LookupDispatchAction, like I mentioned before, MappingDispatchAction is extended in a base class that we all must use for the project that we are working on. To have another base class created to extend LookupDispatchAction and configured doesn't look like a viable option for me. Thanks a

RE: Issue with MappingDispatchAction

2006-09-12 Thread Samere, Adam J
: Struts Users Mailing List Subject: Issue with MappingDispatchAction Hello, I am encountering some issues with using the MappingDispatchAction. The situation is that we (developers) are using a base class that extends MappingDispatchAction. Now I have a jsp page that has 2 buttons in it, one is

Issue with MappingDispatchAction

2006-09-12 Thread Ruepen
Hello, I am encountering some issues with using the MappingDispatchAction. The situation is that we (developers) are using a base class that extends MappingDispatchAction. Now I have a jsp page that has 2 buttons in it, one is "Search" and the other is "Download". Now the

MappingDispatchAction executing twice

2005-11-22 Thread su mo
Hi, I am using Struts 1.2.7. The DispatchAction and its variants MappingDispatchAction and ActionDispatcher seems to be executing twice for me. Not sure where is the problem. Here is the code snippet. I tried with extending MappingDispatchAction or using ActionDispatcher CommonAction extends

MappingDispatchAction executing twice

2005-11-22 Thread su mo
Hi, I am using Struts 1.2.7. The DispatchAction and its variants MappingDispatchAction and ActionDispatcher seems to be executing twice for me. Not sure where is the problem. Here is the code snippet. I tried with extending MappingDispatchAction or using ActionDispatcher CommonAction extends

Re: MappingDispatchAction usage

2005-04-01 Thread Jeff Beal
ion > was applied for all operations, which I don't want for Read/Delete. > > Now, my problem is inverted: > > So, MappingDispatchAction looks like it lets me break out the > Actions,apply validation to specific actions but still have all the code > stored in one file. How

MappingDispatchAction usage

2005-03-31 Thread Nic Werner
ctive method and html:form just pointed to this Action. However, validation was applied for all operations, which I don't want for Read/Delete. Now, my problem is inverted: So, MappingDispatchAction looks like it lets me break out the Actions,apply validation to specific actions but still have al

Re: Using StrutsTestCase with 1.2, wildcards and MappingDispatchAction

2004-10-18 Thread Michael McGrady
Bill Siggelkow wrote: Laurent Duperval wrote: Hello, Does anyone have experience using (Mock)StrutsTestCase to test wildcard actions (actions that end in *) and MappingDispatchActions? Does it work? Are there any particular issues to be aware of? Thanks, L I haven't tested mapping dispatch action

Re: Using StrutsTestCase with 1.2, wildcards and MappingDispatchAction

2004-10-18 Thread Bill Siggelkow
Laurent Duperval wrote: Hello, Does anyone have experience using (Mock)StrutsTestCase to test wildcard actions (actions that end in *) and MappingDispatchActions? Does it work? Are there any particular issues to be aware of? Thanks, L I haven't tested mapping dispatch action with StrutsTestCase,

Using StrutsTestCase with 1.2, wildcards and MappingDispatchAction

2004-10-18 Thread Laurent Duperval
Hello, Does anyone have experience using (Mock)StrutsTestCase to test wildcard actions (actions that end in *) and MappingDispatchActions? Does it work? Are there any particular issues to be aware of? Thanks, L - To unsubscribe,

MappingDispatchAction and LookupDispatchAction Submission Requests

2004-10-02 Thread Michael McGrady
I have a fancy, dancy page ( button ) on Buttons with the source code and demonstrations. However, I have not yet put in either LookupDispatchAction, MappingDispatchAction, or DispatchAction (with JavaScript). If anyone would like to donate what they consider to be a good application of

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread Michael McGrady
If you would like a simpler, and more general, solution that does the same thing, try http://wiki.apache.org/struts/StrutsCatalogFiveMultipleButtonSolutions . However, if you like MappingDispatchAction anyway, which I would find odd but you may find even, you can do whatever you like, but you

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread Hubert Rabago
t;[EMAIL PROTECTED]> wrote: > If it is "/updateCustomer", it means I will have to a > separate jsp for each mapping. This will defeat the > purpose of using MappingDispatchAction. It seems to > me that your suggestion is only applicable to > subclasses of Action, not Mapping

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread O. Oke
If it is "/updateCustomer", it means I will have to a separate jsp for each mapping. This will defeat the purpose of using MappingDispatchAction. It seems to me that your suggestion is only applicable to subclasses of Action, not MappingDispatchAction . I am asking because

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread Hubert Rabago
ally have only one submit button. If you're asking because you read something about this button mapped to that method, that's LookupDispatchAction. MappingDispatchAction is a lot easier to deal with when it comes to mapping methods, IMO. :) Hubert On Thu, 23 Sep 2004 15:26:56 +0100 (BST

MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread O. Oke
Please help! I have a class that extends MappingDispatchAction class . This class has, they are below: My question: 1. In my JSP, what what should be the value of the action attribute of html:form i.e. (i.e. which

Re: MappingDispatchAction

2004-09-13 Thread Craig McClanahan
The current JavaDocs for this class: http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction.html will tell you that this is indeed a Struts 1.2 feature: Since: Struts 1.2 Craig On Mon, 13 Sep 2004 08:36:43 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

RE: MappingDispatchAction - thanks

2004-09-13 Thread bmf5
cc Subject Please respond to RE: MappingDispatchAction "Struts Users

RE: MappingDispatchAction

2004-09-13 Thread Sachin Bhutada
: [EMAIL PROTECTED] Subject: MappingDispatchAction I just read about this this w/e and it suits my needs perfectly. However, I can't find it in 1.1 struts.jar. Is it a 1.2 feature? - To unsubscribe, e-mail: [EMAIL PROT

MappingDispatchAction

2004-09-13 Thread bmf5
I just read about this this w/e and it suits my needs perfectly. However, I can't find it in 1.1 struts.jar. Is it a 1.2 feature? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Why not use MappingDispatchAction in 1.2? Was: how to use DispatchAction?

2004-08-26 Thread Nathan Maves
On a bit of a side note... I would suggest using MappingDispatchAction in the 1.2 builds. This has made the use of dispatch actions much much easier. It allows you to move the "method" parameter into the action mapping itself. This way you do not need to send the parameter in t

Re: MappingDispatchAction dilema

2004-08-22 Thread Kishore Senji
anges, you would have to change the super class show method anyway. My version of your Common Action would be public class CommonAction extends MappingDispatchAction{ public static final String SUCCESS = "success"; public static final String FAILURE = "failure&qu

MappingDispatchAction dilema

2004-08-22 Thread Stephen Houston
Hi, We have a bit of dilemma on our project, and I want to get some feedback from other Struts developers on whether or not what we are thinking of doing goes against Struts best practices. We are using Struts 1.2 and all our Action inherit from a CommonAction which extends MappingDispatchAction

Re: Is MappingDispatchAction (Struts?) multithreaded? (Do I need to worry about it?)

2004-05-01 Thread Riyad Kalla
Craig I really appreciate you taking the time to answer this. Now I have my answer and can avoid any nastiness! Best, Riyad Craig R. McClanahan wrote: Riyad Kalla wrote: Can anyone answer this? (DEVs) I'm very interested in the answer... Most of the aspects in which you have to worry about th

Re: Is MappingDispatchAction (Struts?) multithreaded? (Do I need to worry about it?)

2004-05-01 Thread Craig R. McClanahan
Riyad Kalla wrote: Can anyone answer this? (DEVs) I'm very interested in the answer... Most of the aspects in which you have to worry about thread safety in Struts mirror those you have to be concerned with in servlets. In the particular case of MapDispatchAction, though, there is nothing reall

Re: Is MappingDispatchAction (Struts?) multithreaded? (Do I need to worry about it?)

2004-04-25 Thread Riyad Kalla
Let me clarify: The first sentence should read "and almost all of my METHODS in my MDA's do some form of...", so my question is pertaining to any danger I have when 2+ methods of the same MDA gets called at the same time and all of them want to return errors. Also the subject had "Struts" in it

Is MappingDispatchAction (Struts?) multithreaded? (Do I need to worry about it?)

2004-04-25 Thread Riyad Kalla
I'm asking because I am now getting into MappingDispatchActions (MDA), and almost all of my actions do some form of DB validation and error out if something goes wrong. So I have stamped all over the place 4 lines of code that look like: ActionMessages actionMessages = new ActionMessages(); act