-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johnny,
Johnny Kewl wrote: > Use neither... prefer the plain TC MVC model. What do you consider the "TC MVC model"? Do you just mean "use servlets configured in web.xml and use your own redirects/forwards from within them"? One of the things I really like about Struts (both 1.x /and/ 2.x) is the use of "result" capability. The code doesn't have to know where the control flow will go after the logic has been performed (i.e. it doesn't have to know anything at all about the view). This is even better in S2, because you can parameterize the view component (URLs) without any support from the controller's code. With respect to Frank's comments, S2 specifically encourages you to separate your own code from the framework, so that you can even implement your logic as framework-agnostic controllers that are simply auto-filled by the framework. Unit testing couldn't be easier: you don't even need to worry about the servlet API because S2 completely hides it from you (even for things like session attributes). I would encourage you guys to take a deeper look into these frameworks (I know nothing about JSF... I'm sure there's some great stuff in there, too)... I think you'll see that frameworks do actually provide useful services and direction, and aren't just useless plumbing and configuration. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki0MGcACgkQ9CaO5/Lv0PAgsgCaAh5x7bH117vN3GRA4nhhTyLd 7XEAn33lWIiQFjZFJQ5K/MNwMajWnDBy =46FK -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]