Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsThere is no Action mapped for namespace / and action name Hello.
https://www.eclipse.org/forums/index.php/mv/msg/68411/214565/#msg_214565
Originally posted by: sadhika06.gmail.com
Hi,
i am new to struts2. i created web-dynami project. Added the 4
jars(freemarker,ognl,struts2-core,xwork) in WEB-INF/lib. and added in the
web.xml
created a tutorial package under the src.
created a Hello.java file under tutorial.
created hello.jsp file under webcontent.
when i run the project i am getting the foll error.
There is no Action mapped for namespace / and action name Hello. -
[unknown location]
can anybody help me in finding the prob.
thanks in advance
bye]]>2008-05-30T07:50:42-00:00Re: There is no Action mapped for namespace / and action name Hello.
https://www.eclipse.org/forums/index.php/mv/msg/68411/214579/#msg_214579
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi,
I think you need to specify the package for your actions in web.xml as a init
param of the struts2 filter:
The rest of your config seems OK (though I think you don't need the
namespace="/tutorial" attribute in your struts.xml).
Hope this helps
Wolfgang]]>2008-05-30T12:27:23-00:00Re: There is no Action mapped for namespace / and action name Hello.
https://www.eclipse.org/forums/index.php/mv/msg/68411/214616/#msg_214616
Originally posted by: abc.gmail.com
Hi WolfGanag,
Thanks for ur reply.
i tried adding init-param but no luck, still same error.
i also tried the zero-configuration like renaming the action class Hello
to HelloAction,but no luck
bye]]>2008-05-30T23:48:55-00:00Re: There is no Action mapped for namespace / and action name Hello.
https://www.eclipse.org/forums/index.php/mv/msg/68411/214708/#msg_214708
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi,
I don't have any further ideas. If your code is not too large, you could export
it as a WAR file and post it here, maybe I can help.
Wolfgang
kannalu schrieb:
> Hi WolfGanag,
>
> Thanks for ur reply.
> i tried adding init-param but no luck, still same error.
> i also tried the zero-configuration like renaming the action class Hello
> to HelloAction,but no luck
>
> bye
>]]>2008-06-02T09:12:51-00:00Re: There is no Action mapped for namespace / and action name Hello.
https://www.eclipse.org/forums/index.php/mv/msg/68411/214762/#msg_214762
Originally posted by: abc.mail.com
Hi,
where can i upload the war file
thank you]]>2008-06-03T06:16:34-00:00Re: There is no Action mapped for namespace / and action name Hello.
https://www.eclipse.org/forums/index.php/mv/msg/68411/214769/#msg_214769
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
I don't know how you could do it through the forum website, I use a NNTP client
for this.
You could mail it to me: wolfgang DOT knauf AT gmx DOT de
Best regards
Wolfgang
kannalu schrieb:
> Hi,
> where can i upload the war file
> thank you
>]]>2008-06-03T09:00:51-00:00