aspose file tools*
The moose likes Struts and the fly likes Struts with Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts with Netbeans" Watch "Struts with Netbeans" New topic
Author

Struts with Netbeans

Abhijeet Ravankar
Ranch Hand

Joined: Mar 15, 2009
Posts: 62
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

Joined: May 29, 2009
Posts: 122
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Mar 15, 2009
Posts: 62
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

Joined: Sep 29, 2008
Posts: 12617

Of course SunOracle is pushing JSF; it's the official JEE view solution, for better or worse.
 
Don't get me started about those stupid light bulbs.
 
subject: Struts with Netbeans