wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes Struts2 on Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Struts2 on Eclipse" Watch "Struts2 on Eclipse" New topic
Author

Struts2 on Eclipse

Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66

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.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Mar 13, 2010
Posts: 66

In that case, could you please recommend the best way to handle struts2 on eclipse?
Thanks,
Debojit
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Handle in what way? Either get MyEclipse (it's inexpensive), or just code it like anything else.
Debojit Sinha
Ranch Hand

Joined: Mar 13, 2010
Posts: 66

By "handle" I meant "integrate" with Eclipse, like perhaps... a plugin?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Mar 13, 2010
Posts: 66

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
 
 
subject: Struts2 on Eclipse