• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts2 on Eclipse

 
Ranch Hand
Posts: 66
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I'm completely new to Struts2. I just now downloaded the binary from Apache, ut can't seem to get it running. By running, I mean that I had managed to configure Struts 1.1 on Eclipse Helios so that I could add Action classes, Action JSPs, etc. from the "New.." button, as well as add Struts support to an existing project via same method. But I can't seem to get the same facilities for Struts2. Could anyone shed some light on the matter please? I've been looking on the net for hours, but to no avail. All I've found are solutions which say that I have to do all the basic alterations to the web.xml file manually, as well as create the struts-config.xml, and all the .tld files. I would really appreciate some light on the matter.

Thanks in advance.
 
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
The only S2 plugin I know of for Eclipse is in MyEclipse. Although honestly I never found such a thing terribly helpful. The only thing I appreciate is being able to navigate from XML <=> Java; I assume MyEclipse does this but haven't used it.
 
Debojit Sinha
Ranch Hand
Posts: 66
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case, could you please recommend the best way to handle struts2 on eclipse?
Thanks,
Debojit
 
David Newton
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
Handle in what way? Either get MyEclipse (it's inexpensive), or just code it like anything else.
 
Debojit Sinha
Ranch Hand
Posts: 66
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By "handle" I meant "integrate" with Eclipse, like perhaps... a plugin?
 
David Newton
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

David Newton wrote:The only S2 plugin I know of for Eclipse is in MyEclipse. Although honestly I never found such a thing terribly helpful. The only thing I appreciate is being able to navigate from XML <=> Java; I assume MyEclipse does this but haven't used it.

 
Debojit Sinha
Ranch Hand
Posts: 66
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, will do. Oh, and FYI, after my last post I rooted around a bit more and found the StrutsIDE website, which contains a system to integrate Struts with Eclipse. It only allows for Struts 1.1, unfortunately. I'll just have to keep looking, I guess.


Thanks anyway,
Debojit
 
reply
    Bookmark Topic Watch Topic
  • New Topic