|
The following source is from Dustin R. Callaway,
all rights reserved by him:).
public class ServletDebug {
public static void main(String
[] args) {
String []
serverArgs = {"-p", "8080", "-d", "/servlets"};
sun.servlet.http.HttpServer.main(serverArgs);
}
}
Add this class to your project with the class which
you want to test. Set some
breakpoints in your class, then run ServletDebug in
debug mode. Open a browser
window and type the url to request your
servlet.
liwen
|
- IDE to build and debug servlets Rajesh Nair
- Re: IDE to build and debug servlets Steven D. Meacham
- Re: IDE to build and debug servlets Liwen Chen
- Re: IDE to build and debug servlets Javier Galindo
- Re: IDE to build and debug servle... Rajesh Nair
- Re: IDE to build and debug servle... Preston L. Bannister
- Re: IDE to build and debug s... Josh Braun
- Re: IDE to build and debug servlets Shawn McKisson
- Re: IDE to build and debug servlets Antonio Moratilla Oca�a
- Questions getruntime().exec Liwen Chen
- Questions getruntime().exec [Mariano Pollio]
- Re: Questions getruntime... [Mariano Pollio]
- Re: IDE to build and debug servle... Shawn McKisson
- Re: IDE to build and debug servlets harjit singh
- Re: IDE to build and debug servlets Zaina Ajakie
- Re: IDE to build and debug servlets Doshi, Gunjan
- Re: IDE to build and debug servlets Baglan Dosmagambetov
- Re: IDE to build and debug servlets Rajesh Nair
- Re: IDE to build and debug servlets Baglan Dosmagambetov
