tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jones" <>
Subject RE: jsp's vs servlets
Date Mon, 29 May 2000 18:36:33 GMT
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

> -----Original Message-----
> From: Antonis Smardas []
> Sent: 29 May 2000 19:03
> To:
> 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
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message