You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by manofspider <ma...@gmail.com> on 2009/03/02 12:08:48 UTC

Struts 2 sample: Hello World (Maven & Ant)

Hi all,

I am trying Struts 2 with Maven 2:

Simple Setup:
http://struts.apache.org/2.1.6/docs/simple-setup.html

Hello World:
http://struts.apache.org/2.1.6/docs/hello-world.html

But the Hello World sample is not completely clear for beginner:
- where to place files: HelloWorld.jsp, HelloWorld.java, struts.xml?
- How to Deploy the this Hello World application?

Could you plz give me step by step instructions from create project, build,
deploy,... ?

1. Struts 2 sample: Hello World (Maven)
2. Struts 2 sample: Hello World (Ant)

Thanksss.
-- 
View this message in context: http://www.nabble.com/Struts-2-sample%3A-Hello-World-%28Maven---Ant%29-tp22286181p22286181.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: Struts 2 sample: Hello World (Maven & Ant)

Posted by Mike Finney <Mi...@carfax.com>.
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-blank/2.1.6/ 

(struts2=blank) may be just the thing to use for writing a struts2 hello world.

Is this David Newton's contribution?

Thanks.

-----Original Message-----
From: Lukasz Lenart [mailto:lukasz.lenart@googlemail.com] 
Sent: Monday, March 02, 2009 6:00 AM
To: Struts Users Mailing List
Subject: Re: Struts 2 sample: Hello World (Maven & Ant)

I think it will be even better to start from scratch with Struts2 archetype [1]

[1] http://struts.apache.org/2.1.6/docs/struts-maven-archetypes.html


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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



Re: Struts 2 sample: Hello World (Maven & Ant)

Posted by Lukasz Lenart <lu...@googlemail.com>.
I think it will be even better to start from scratch with Struts2 archetype [1]

[1] http://struts.apache.org/2.1.6/docs/struts-maven-archetypes.html


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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


Re: Struts 2 sample: Hello World (Maven & Ant)

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
The Struts 2 Maven 2 examples follows general Maven 2 web application
guidelines. I agree that the guide could be clearer, but a good
starting point would be to read some Maven 2 web application tutorials
[1].

Nils-H

[1] - http://www.google.com/search?q=maven+2+web+application

On Mon, Mar 2, 2009 at 12:08 PM, manofspider <ma...@gmail.com> wrote:
>
> Hi all,
>
> I am trying Struts 2 with Maven 2:
>
> Simple Setup:
> http://struts.apache.org/2.1.6/docs/simple-setup.html
>
> Hello World:
> http://struts.apache.org/2.1.6/docs/hello-world.html
>
> But the Hello World sample is not completely clear for beginner:
> - where to place files: HelloWorld.jsp, HelloWorld.java, struts.xml?
> - How to Deploy the this Hello World application?
>
> Could you plz give me step by step instructions from create project, build,
> deploy,... ?
>
> 1. Struts 2 sample: Hello World (Maven)
> 2. Struts 2 sample: Hello World (Ant)
>
> Thanksss.
> --
> View this message in context: http://www.nabble.com/Struts-2-sample%3A-Hello-World-%28Maven---Ant%29-tp22286181p22286181.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