|
JSF (JavaServer Faces) does just that! Aside from it's custom tag library (say JSP tag lib), and the tooling IBM has built for drag and drop UI development, it has a life cycle that it goes through that implements many features of MVC. Check out this tutorial to learn more about JSF: http://www-106.ibm.com/developerworks/websphere/techjournal/0401_barcia/ barcia.html This describes the lifecycle: http://www.javaworld.com/javaworld/jw-11-2002/jw-1129-jsf-p2.html HTH, Aaron Bartell -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] Sent: Thursday, November 04, 2004 2:15 PM To: java400-l@xxxxxxxxxxxx Subject: JSP and MVC (newbie question) This is a newbie question about JSP and MVC. Since JSP is a scripting language to create servlets, why not use JSP to create controller servlets in MVC? A JSP does not have to contain any HTML/XHTML tags at all. It could contain 100% JSP tags and Java code. Using this kind of JSP for controllers would eliminate the need for the developer to compile code and allow greater flexibility where controllers are stored (servlet class files must be in the WEB-INF directory, but JSPs can be stored anywhere). However, I'm not experienced at Web development, and there's probably many things I'm not considering. Please enlighten me. Thanks, Kelly __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.