Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 20164 invoked from network); 29 May 2000 18:35:58 -0000 Received: from mail.develop.com (HELO infoserver.develop.com) (209.110.197.12) by locus.apache.org with SMTP; 29 May 2000 18:35:58 -0000 Received: from yossarian (usern651.uk.uudial.com [193.149.85.176]) by infoserver.develop.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id L4H9RQAK; Mon, 29 May 2000 11:36:10 -0700 From: "Kevin Jones" To: Subject: RE: jsp's vs servlets Date: Mon, 29 May 2000 19:36:33 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N You've no idea how big a can of worms you've opened here :-) The basic idea is that you use JSPs over servlets if you have lots of presentation (i.e. HTML). Putting HTML into servlets (i.e. out.write) leads to HTML that is unmaintainable and hard to change. The basic idea is thet you program using the MVC paradigm, with servlets as the controller, JSPs as the view anf Java Beans as the model. There are many, many discussions of this on these lists and on the servlet and JSP lists - hunt down the archives, Kevin Jones DevelopMentor www.develop.com > -----Original Message----- > From: Antonis Smardas [mailto:smardas@csd.uoc.gr] > Sent: 29 May 2000 19:03 > To: tomcat-dev@jakarta.apache.org > Subject: jsp's vs servlets > > > I would like to know if java servlets can be used in place of > jsp's or if there is any specific reason where one should use jsp > instead of servlets. > > Thanks in advance, > -- > Antonis K. Smardas > > smardas@csd.uoc.gr > smardas@csi.forth.gr > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org