aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - eclipse" Watch "Struts 2 - eclipse" New topic
Author

Struts 2 - eclipse

gnanesh viathur
Greenhorn

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.

Regards,
gnanesh

[ 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:
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 - eclipse
 
Similar Threads
struts2
Struts2 Validations problem
Struts2 + Hibernate + paging
Struts2 nested iterators with listboxes
s:textfield struts2