• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help to set up struts 2.1.6 with eclipse ganymede

 
pal sahab
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic