Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Hai people, Then is it possible to upload files from client side like what yahoomail do?

0
10 Posted

Hai people, Then is it possible to upload files from client side like what yahoomail do?

0
10

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123