struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay Nagrik" <vnag...@gmail.com>
Subject Re: Building First strut
Date Fri, 25 Apr 2008 15:40:18 GMT
I am using struts2.0.11.1.

I am thoroughly confused about the configuration and where goes what.  like
.java, .jsp,
struts.xml, and web.xml.  And what to write in struts.xml and web.xml.  What
do the top two lines in these two .xml mean.

Thanks.



On 4/24/08, aum strut <aum.struts@gmail.com> wrote:
>
> Wes is right without information about the version its very hard to put
> any
> comments on this,
>
> On 4/25/08, Wes Wannemacher <wesw@wantii.com> wrote:
> >
> > Which version of struts are you using? Struts 1 and Struts 2 are very
> > different.
> >
> > -Wes
> >
> > On Thu, 2008-04-24 at 17:48 -0700, Vinay Nagrik wrote:
> > > Hello Group,
> > >
> > > I am working with struts and following is what I have done already.
> > >
> > > 1. Downloaded tomcat, configured it, and it is running alright.
> > >
> > > 2. Downloaded struts unzipped, untarred it and copied necessary .jar
> > files
> > > from this directory into tomcat WEB-INF/lib directory.
> > >
> > > 3. Built web.xml for HelloWorld example and placed it under WEB-INF.
> > >
> > > 4. Built struts.xml file for HelloWorld and placed it under
> > WEB-INF/classes
> > > directory.
> > >
> > > 5. Wrote HelloWorld.java and compiled it.
> > >
> > > I am stuck here.
> > >
> > > Questions
> > >
> > > Where to put HelloWorld.java, HelloWorld.jsp.
> > >
> > > I downloaded Maven to work with struts but it did not compile for lack
> of
> > > pom.xml. And there is no good example available. I copied the one on
> the
> > > internet, but
> > >
> > > Neither
> > >
> > > mvn clean install
> > >
> > > nor
> > > mvn install
> > >
> > > will compile
> > >
> > > How do I create the .war files.
> > >
> > > I need to start my first strut example and I will appreciate any help.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>



-- 
Thanks

Nagrik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message