On April 20, 2002 10:53 am, Allan Kamau wrote:
> You may only need plain .jsp and Servlet training.
> Configuring the .jsp and Servlets to run inside the
> Tomcat container, requires you to patiently read the
> docs that come with TC and of course observe the file
> layout of the sample web applications that come
> preconfigured with TC.

Tomcat is being unfairly maligned!

In any Servlet/JSP container, it suffices to place JSPs
in the root directory of the default application, and Servlets
in the classes directory under that. At least for simple cases.

A good course should start off showing how to use servlets
and JSPs in the default Context, and maybe end up showing
how to configure a server or two (the Learning Tree course
I teach on this subject shows a little bit of configuration on
both TC and JRun, to give the students an idea of the range
of possibilities and differences, but the emphasis is on the API.

BTW, "the file layout of the sample web applications" is - apart
from the name of the directory - clearly specified by the J2EE/
Servlet specification, and is NOT something that you should try
to blame :-) on Tomcat.  What is good about TC is that it does
ship with several sample applications, each of which follows
the specification, so you can examine these and learn about
setting up your own.

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to