aspose file tools*
The moose likes Struts and the fly likes need help to set up struts 2.1.6 with eclipse ganymede Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "need help to set up struts 2.1.6 with eclipse ganymede" Watch "need help to set up struts 2.1.6 with eclipse ganymede" New topic
Author

need help to set up struts 2.1.6 with eclipse ganymede

pal sahab
Greenhorn

Joined: Feb 11, 2009
Posts: 8
hello

iam new to j2ee, i am somehow manage to add jboss server into eclipse ganymede. now i want to develop web application using struts framework, and i have really no idea how to start with it, i have done lots of GOOGLING and iam confused and stuck now.
please some body guide me..

thnks and regards...
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

That's a pretty open-ended question.

The *simplest* way to get started is to create a typical Java webapp layout and put the required libraries into /WEB-INF/lib. You'd then make sure that Eclipse had those libraries on its compile path--but that's an IDE question, not Struts. Try the IDE forum for IDE-specific help.

Another option is to use Maven and a Maven plugin; that may be too steep of a learning curve right now, though.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'd suggest you find the struts-blank-2.x.x.war file that comes with the download. Then just use the file->import->war file function to import this file into Ecliplse. You then have a ready-made Struts 2 project with all the necessary artifacts. You can deploy this project as-is to JBoss just to make sure everything is working, and then you can use it as a starting point for your new code.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help to set up struts 2.1.6 with eclipse ganymede