wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts 2 - eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - eclipse" Watch "Struts 2 - eclipse" New topic

Struts 2 - eclipse

gnanesh viathur

Joined: May 13, 2008
Posts: 2
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.


[ May 13, 2008: Message edited by: gnanesh viathur ]
[ May 13, 2008: Message edited by: gnanesh viathur ]
K Kiran Kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 109
Hi Gnanesh,

Please look into the following link:

You need to know the basic web app file structure. Check out the following link chapter2 for the file structure.

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.

Don't get me started about those stupid light bulbs.
subject: Struts 2 - eclipse
Similar Threads
s:textfield struts2
Struts2 + Hibernate + paging
Struts2 Validations problem
Struts2 nested iterators with listboxes