How do people who know what they're doing go about debugging servlets?
Thanks in advance,
Richard
--
Richard Lewis
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
, restart Tomcat (which takes several
minutes) and read the Tomcat logs to find out whats gone wrong!
Nightmare! :-o
How do people who know what they're doing go about debugging servlets?
Thanks in advance,
Richard
--
Richard Lewis
[EMAIL PROTECTED
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
(No one had ever said before about the
servlet-mapping directive.)
There are good reasons why the invoker servlet has been removed
(commented out) of the default web.xml in Tomcat.
The IDE suggested by others may already have this
features, but Apache Axis tcpmon is a neat tool to
have if you do not use IDE's. It allows you to see
what is being sent to a servlet running on Tomcat and
vice versa, the response coming out. Easy to use, as
it is an applet and run like so:
Hi,
copy it to the classes directory, restart Tomcat (which takes several
minutes)
Restarting Tomcat doesn't take several minutes unless you have added
other webapps that do significant processing on startup/shutdown, or
significantly modified the Tomcat out-of-the-box configuration.
and read
Two thoughts:
1: startup time can be further shrunk by lightly editing the config to
remove the default load balancing app and the like.
2: I do all this using eclipse + MyEclipse, and I've found it quite
satisfactory.
-
To