Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 - eclipse

 
gnanesh viathur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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 ]
 
K Kiran Kumar
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic