In the "etc" directory, check out the sample program named "SimpleStartup.java".
This is a simple application you can use to debug servlets in the JSWDK environment
within an IDE.

Craig McClanahan


"Milkowski, Andrew" wrote:

> in old good days (while using JSDK 2.0) debugging servlet in an IDE
> environment required
> adding a main class, specifying a port number and a servlet directory and
> invoking
> an HTTP Server (sun.servlet.http.HttpServer.main(serverArgs)), one could
> specify
> breakpoints in service, doGet doPost etc.. and invoke a servlet by calling
> url:port:servlet name

>
> since downloading a new Servlet JDK from SUN (currently jswdk-1.0.1) the old
> way of debugging
> servlet is no longer accessible, in fact webserver.jar does not seem to have
> an Http server
> one can invoke from the main class, is there a way around it
>
> ps. looked at the Enhydra servlet debugger, but it seems it is just an
> applet, that gives out
> any information on request/response/session but needs an Servlet capable
> Http Server,
> what I would love to have is a self contained servlet runner I can run from
> within java project
>
> Cheers
>
> Any help on this issue greatly appreciated
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to