hi! there are lots of ways of dointg the presentation: a template mechanism like WebMacro, something you came up on your own or JSPs. in the MVC architecture it isn't about what's doing the presentation (jsp or servlet + template) and how it is doing it but that the part of the system that is responsible for the presentation should be clearly divided from the other parts of your system (i.e. data and logic). if you design your software that way, it sould be a simple task to add new views or to alter existing ones because all the code doing the presentation is in one place. that's also the problem of MVC: because you divide your prog into Model, View and Controller you have to be aware of the way communication is done between these parts of your prog and you have to be aware of the fact that a lot of communication is done.
-mw At 16:49 07.03.2002 +0000, you wrote: >hi there good people!! > >in an MVC architecture, i'm sort of using servlets as my view, i've been >basically using them to build templates of web pages, and them have some not >web-application specific classes doing all the business logic and/or >database connections. but i've been told that is wrong, that servlets should >take care of the logic, and that i should have .jsp doing the >presentation... but i also heard (from a someone who's opinion i respect) >that .jsp are just as reliable as .asp (which is not very impressing). >so what should i do... >continue developing using servlets as templates (and some front end >validation) or change it all (while still in time) and use jsp together with >servlets. >thanks in advance for your time.. >wills > >___________________________________________________________________________ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff SERVLET-INTEREST". > >Archives: http://archives.java.sun.com/archives/servlet-interest.html >Resources: http://java.sun.com/products/servlet/external-resources.html >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
