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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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,
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,
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
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
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
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
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
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
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:
cc
Subject
Please respond to RE: MappingDispatchAction
"Struts Users
: [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
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
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
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
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
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
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
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
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
33 matches
Mail list logo