A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
call servlet from simple java file.
Joined: Oct 06, 2003
Apr 07, 2004 00:05:00
How to call the
Thanks and Regards
Joined: May 10, 2003
Apr 07, 2004 00:16:00
We can open a URL connection on servlet to call.
Padmaja Godbole<br />---------------------<br />SCJP2
Joined: Dec 10, 2003
Apr 09, 2004 16:09:00
what you will do with that..if your java class in same directory as your servlet you can invoke servlet as java class. You can invoke other methods apart from doGet(httpreq,httpres) & other HTTP related methods.
Hope this help.
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
I agree. Here's the link:
subject: call servlet from simple java file.
How to call a build.xml
Calling .js file from Java
How to call servlet do post method from a pojo
Connecting to the webserver from simple java program with main method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014