aspose file tools*
The moose likes Struts and the fly likes Struts2 with Spring MVC? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 with Spring MVC?" Watch "Struts2 with Spring MVC?" New topic
Author

Struts2 with Spring MVC?

Rich Pena
Greenhorn

Joined: Jan 19, 2007
Posts: 2
Hello,
I'm in the process of creating a website for a study group I'm in and I was considering using old Struts and Spring (I'm familiar with old Struts). Since I want to create it quickly (don't we all) I was wondering how steep the learning curve would be if I tried to use Struts2 with Spring MVC.
I've read the writeup on Struts2 on the Apache Struts 2 website and it sounds magical, but I believe your perspective(s) would count for something.

Thanks,

Rich
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Since I want to create it quickly

FrontMan.


[My Blog]
All roads lead to JavaRanch
Don Brown
author
Greenhorn

Joined: Apr 22, 2008
Posts: 25
There is a Struts 2 Spring MVC Plugin, though to be honest, I'm not sure how much it would get you. If you want to get a Struts 2 app up quickly, I'd recommend using one of the Maven archetypes, or Appfuse.
Rich Pena
Greenhorn

Joined: Jan 19, 2007
Posts: 2
Thanks for the suggestion Don and Christopher. I've tried appFuse before, long time ago and didn't know that it was updated to use Struts2. As for my concern of the learning curve. Is there a big difference between Struts and Struts2? Also could someone comment on if Spring MVC would work well with Struts2?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Also could someone comment on if Spring MVC would work well with Struts2?

You don't use both of them. They are both MVC frameworks. Did you mean Spring and Struts 2 ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts2 with Spring MVC?