Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts with Netbeans

 
Abhijeet Ravankar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Does Netbeans 6.8 comes pre-installed with Struts 2.0?
I click on File --> New Project --> Java Web -->(Web Application) --> (Set Name & Location)--> (Server & Settings)--> "Frameworks"

But, in the Frameworks, it displays only JavaServerFaces and Hibernate 3.2.5 to choose from. Why not Struts?
Should I download Struts and its plugin explicitly?

Regards.
 
Mark Wa
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just started working with struts in eclipse. All I needed to do was add a couple of jars to the classpath and add a struts.xml and make a small alteration to my web.xml. The jars can be obtained from the stuts website in a zip download
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, NetBeans doesn't ship with any Struts 2 support that I'm aware of. I know of only one plugin and have never used it.
 
Abhijeet Ravankar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear David Newton,

Yes, you are correct. I reinstalled Netbeans and found that it supports only Struts 1.3.
But, it has the latest JSF. I think Sun is pushing JSF.
Anyway, thanks.

(@MarkWa--> I am shifting from Eclipse to Netbeans

Abhijeet
--------------------------------
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course SunOracle is pushing JSF; it's the official JEE view solution, for better or worse.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic