tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Access Parameter
Date Wed, 14 Aug 2002 13:13:35 GMT
Hi,

>As JSP are "compiled" as servlets, you can do with JSP everything you
can
>do
>with servlets.

... but you shouldn't.  

JSPs are designed mostly for presentation and some associated logic.
Stuff like "if this field in the database is this value, then show these
values in HTML."  

Servlets are designed for more powerful and involved processing,
back-end "stuff", and not as much presentation.  

Sometimes knowing the conceptual differences between the technologies
and their intended uses can save you a ton of headaches down the road.
While Cedric's comment above has merits, I would say be very careful
before venturing down that path.

Yoav Shapira
Millennium ChemInformatics

Mime
View raw message