Hai people, Then is it possible to upload files from client side like what yahoomail do?
How do I execute a servlet from the command line, or from Unix shell program or Windows BAT file? Location: http://www.jguru.com/faq/view.jsp?EID=1063884 Created: Mar 6, 2003 Author: Christopher Koenigsberg (http://www.jguru.com/guru/viewbio.jsp?EID=722897) Question originally posed by rupali kandarkar (http://www.jguru.com/guru/viewbio.jsp?EID=1051696 Of course as with any Java class, you could put a “main” method in your class that extends HttpServlet, so you could run it (the main(), not the doGet/doPut/service()) from a command line. But it wouldn’t have the whole server infrastructure set up for it, with the request, session, response, etc. (which is why you couldn’t call the doGet/doPut/service, unless you have a good “mock object” test scaffolding set up). Or are you saying that you have some utility classes & methods that might be useful to run, standalone in a command line situation (e.g. calling them from main()), as well as from inside a servlet (e.g. calling them from doGet