Either is a good framework. Do what you feel is best for productivity and supportability.
Paul On Fri, Jun 26, 2009 at 8:54 AM, <musom...@aol.com> wrote: > SInce you are comited to a re-write, go for it. > Chris > > > > > > > > -----Original Message----- > From: Mitchell, Steven <steven.mitch...@umb.com> > To: Struts Users Mailing List <user@struts.apache.org> > Sent: Thu, Jun 25, 2009 5:17 pm > Subject: RE: Struts1 or Struts2 > > > > Chris, > > My opinion is that you will take an initial productivity hit while the > team gets accustomed to the new JSP tags. That is what took me the > longest. I also switched from Tiles to SiteMesh, which like much better. > My recommendation is to pick one person to do the first small, benchmark > application and then have that person mentor the rest of your team. > > I went ahead and converted a couple of Struts 1 applications to Struts > 2. There is no business justification to do so, but it was an excellent > learning exercise. > > The main thing I noticed when I converted my Struts 1 actions to Struts > 2 was that they were much cleaner with Struts 2. I standardized the > basic layout of my actions. > > public String save() throws Exception { > checkForActionErrors(); > if ( !hasActionErrors() ) { > checkForFieldErrors(); > if ( !hasFieldErrors() ) { > // do CRUD stuff here... > return SUCCESS; > } > prepare(); //re-populate stuff in Request scope > return INPUT; > } > } > return ERROR; > } > > Go for it! > > Steve Mitchell > http://www.ByteworksInc.com > -----Original Message----- > From: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com] > Sent: Thursday, June 25, 2009 3:29 PM > To: user@struts.apache.org > Subject: Struts1 or Struts2 > > > My company has used Struts1.1 and Struts1.2 for the development of our > widely used customer portal web application environment. Recently, the > company has decided to migrate to a new back office solution and as a > part of this project, our customer portal application is needing to be > rewritten as well. In an effort to remain on the latest and greatest > technology stacks, I am considering Struts2 (specifically 2.1.6) versus > staying on the Struts1.2 framework. > > Is there a huge benefit in moving to Struts2 for my development team? > Will less development/configuration/maintenance be required? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For a > dditional commands, e-mail: user-h...@struts.apache.org > > > ------------------------------------------------------------------------------ > NOTICE: This electronic mail message and any attached files are confidential. > The information is exclusively for the use of the individual or entity > intended > as the recipient. If you are not the intended recipient, any use, copying, > printing, reviewing, retention, disclosure, distribution or forwarding of the > message or any attached file is not authorized and is strictly prohibited. If > you have received this electronic mail message in error, please advise the > sender by reply electronic mail immediately and permanently delete the > original > transmission, any attachments and any copies of this message from your > computer > system. Thank you. > > ============================================================================== > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org