• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 2 - eclipse

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i am very new to struts2. As mentioned in the discussions( in this forum) i have imported struts2 blank . war. and installed wtp in ecllipse a project named x-work has been created in the eclipse. i am now not knowing how to proceed further like should build.xml is to be written where should the index page should be present where the java files and jsp pages are to be placed. in short i am not clear about the file structure to be used. can some one help me out with this issue by giving an example of how to proceed with struts2 in eclipse.

Regards,
gnanesh

[ May 13, 2008: Message edited by: gnanesh viathur ]
[ May 13, 2008: Message edited by: gnanesh viathur ]
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Gnanesh,

Please look into the following link:
http://struts.apache.org/2.x/docs/simple-setup.html

You need to know the basic web app file structure. Check out the following link chapter2 for the file structure.
http://pdf.coreservlets.com/

index.html can be anywhere but what is important is that you need to configure that in web.xml(Deployment descriptor) under welcome-file tag.

Regards,
Kiran.
 
reply
    Bookmark Topic Watch Topic
  • New Topic