You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eren Oz <e....@hotmail.com> on 2012/01/24 19:08:13 UTC

Struts2 Hello world example

i am absolute beginner to Struts2. I am tying to follow tutorials on struts web site. i followed this tutorial. i have some trouble with it. i created dynamic web project on eclipse. Then i followed the tutorial. However when i run the example i get the following error. I googled but I could not find a solution. 

There is no Action mapped for namespace [/] and action name [hello] associated with context path [/Hello_World_Struts_2]. - [unknown location]

I have attached my directory structure and struts.xml file.

Thanks for your responses.




Re: Struts2 Hello world example

Posted by Eren Oz <e....@hotmail.com>.
Yes I solved the problem with the help of Dave. Thanks. I am absolute 
beginner to Struts2 and I will try to ask more related questions later.

the post is : 
http://stackoverflow.com/questions/8991597/struts-hello-world-example-there-is-no-action-mapped-for-namespace-and-act/8991842#8991842

-----Original Message----- 
From: Dave Newton
Sent: Tuesday, January 24, 2012 9:01 PM
To: Struts Users Mailing List
Subject: Re: Struts2 Hello world example

That's the one OP was following; issue resolved on stackoverflow.

Dave

On Tue, Jan 24, 2012 at 1:59 PM, bphillips@ku.edu <bp...@ku.edu> wrote:

> Eren:
>
>  Try starting with this tutorial:
>
> http://struts.apache.org/2.3.1.2/docs/how-to-create-a-struts-2-web-application.html
> .
> That tutorial provides more of a "walk-thru" for how to structure a Struts
> 2
> web application.
>
> Bruce
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/Struts2-Hello-world-example-tp5324357p5332091.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts2 Hello world example

Posted by Dave Newton <da...@gmail.com>.
That's the one OP was following; issue resolved on stackoverflow.

Dave

On Tue, Jan 24, 2012 at 1:59 PM, bphillips@ku.edu <bp...@ku.edu> wrote:

> Eren:
>
>  Try starting with this tutorial:
>
> http://struts.apache.org/2.3.1.2/docs/how-to-create-a-struts-2-web-application.html
> .
> That tutorial provides more of a "walk-thru" for how to structure a Struts
> 2
> web application.
>
> Bruce
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/Struts2-Hello-world-example-tp5324357p5332091.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Struts2 Hello world example

Posted by "bphillips@ku.edu" <bp...@ku.edu>.
Eren:
  
  Try starting with this tutorial: 
http://struts.apache.org/2.3.1.2/docs/how-to-create-a-struts-2-web-application.html. 
That tutorial provides more of a "walk-thru" for how to structure a Struts 2
web application.

Bruce

--
View this message in context: http://struts.1045723.n5.nabble.com/Struts2-Hello-world-example-tp5324357p5332091.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts2 Hello world example

Posted by Dave Newton <da...@gmail.com>.
Please note that attachments don't get delivered to folks on the user
mailing list, and that images of files are pretty irritating. It's also
nice to mention that you've asked the identical question elsewhere so
people don't expend effort answering questions that have already been
answered.

Dave

On Tue, Jan 24, 2012 at 1:08 PM, Eren Oz <e....@hotmail.com> wrote:

>   i am absolute beginner to Struts2. I am tying to follow tutorials on
> struts web site. i followed this tutorial<http://struts.apache.org/2.3.1.2/docs/hello-world-using-struts-2.html>.
> i have some trouble with it. i created dynamic web project on eclipse. Then
> i followed the tutorial. However when i run the example i get the following
> error. I googled but I could not find a solution.
>
>
> There is no Action mapped for namespace [/] and action name [hello] associated with context path [/Hello_World_Struts_2]. - [unknown location]
>
>
> I have attached my directory structure and struts.xml file.
>
> Thanks for your responses.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>