Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic