• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

need help to set up struts 2.1.6 with eclipse ganymede

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Your mother was a hamster and your father was a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic