I am not an expert but what I would do for this is create an action with a
wildcard that should work like a default option in a switch/select case.
something like
action name=first class=go
resultgo.jsp/result
/action
action name=second class=go2
resultgo2.jsp/result
/action
!-- several
populated by the ActionTag populateParams()
protected void populateParams() {
super.populateParams();
ActionComponent action = (ActionComponent) component;
action.setName(name);
action.setNamespace(namespace);
so in the case of this declaration
package
@Luis: I don't think I understand what you are trying to do from that
example...how will that help? I am trying to find out that if
ActionContext.getInstance().getName() returns an action name say test and
that is infact the action we want to land on...can it be So if the above
line of code
]
Sent: Wednesday, November 25, 2009 12:57 PM
To: user@struts.apache.org
Subject: Re: no Action mapped for namespace / and action name doLogin.
No configuration found for the specified action under struts2.0.11
Hi all, I am using jboss v5.0 and my login.jsp is
%@ taglib prefix=s uri=/struts-tags
[mailto:shimpi.vikr...@gmail.com]
Sent: Wednesday, November 25, 2009 12:57 PM
To: user@struts.apache.org
Subject: Re: no Action mapped for namespace / and action name doLogin.
No configuration found for the specified action under struts2.0.11
Hi all, I am using jboss v5.0 and my login.jsp
hi raghuveer,
I tried with ur suggestions but still I am getting the same error. Please
help me!!!
--
View this message in context:
http://old.nabble.com/RE%3A-no-Action-mapped-for-namespace---and-action-name-doLogin.-tp26510748p26511382.html
Sent from the Struts - User mailing list archive at
Declare namespace attribute for action mapping as /
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Guyz Any suggestions Please
--
View this message in context:
http://old.nabble.com/RE%3A-no-Action-mapped-for-namespace---and-action-name-doLogin.-tp26510748p26512263.html
Sent from the Struts - User mailing list archive at Nabble.com.
No configuration found for the specified action under struts2.0.11
Hi all, I am using jboss v5.0 and my login.jsp is
%@ taglib prefix=s uri=/struts-tags %
html
head
titleStruts 2 Login Application/title
link href=s:url value=/css/main.css/ rel=stylesheet
type=text/css/
/head
body
s:form
9 matches
Mail list logo