tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: Servlet navigation
Date Thu, 12 Jun 2008 19:23:36 GMT
On Thu, Jun 12, 2008 at 12:16 PM, James Rome <jamesrome@gmail.com> wrote:
> I am doing a project for a class of HS teachers in July, to teach them
> the wonders of Java and NetBeans. I designed a set of servlets to let
> them manage student grades. I am having them design the basic HTML in
> NVU, and put it into the try blocks of the NB-generated processRequest
> servlets, and then put it into out.println("..."); blocks.

ewwww. :-)

You do know that it's considered better practice to use a separate
view technology like JSP, Velocity, Flex, whatever for display and
servlets only as controllers, right?

Makes life (and debugging) a lot easier, too :-)

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message