This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 on Eclipse

 
Debojit Sinha
Ranch Hand
Posts: 66
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • 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.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By "handle" I meant "integrate" with Eclipse, like perhaps... a plugin?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic