August 26th, 1999, 12:00 AM
could servlet be made to function from a command prompt as an application
|
Click to See Complete Forum and Search --> : could servlets? August 26th, 1999, 12:00 AM could servlet be made to function from a command prompt as an application banguru August 26th, 1999, 01:45 AM Servlets are intepreted by the Web server. Servlets doesnot contains main method which normal application contains. so it is not possible to do what ur expecting rajeev_gupta August 27th, 1999, 01:48 AM there is 1 way of doing the same You have to write another class which is having a main method and trying to coonect the URL of your servlet which in turn execute the servlet and return the desired result throuh outputstream which U can receive in your application through inputstream. Try this. rgards Rajeev codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |