wood burning stoves 2.0*
The moose likes Servlets and the fly likes calling servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "calling servlets" Watch "calling servlets" New topic
Author

calling servlets

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

how can we call a servlet from an applet?
Advance Thanx.


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
Sainudheen Mydeen
Ranch Hand

Joined: Aug 18, 2003
Posts: 218
Hi

-------------
Sainudheen
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
note that because of the "http://" what you get is an HttpURLConnection (in the java.net package). This is important because you can then
((HttpURLConnection)con).setRequestMethod("POST");
Do that before opening the connection - otherwise you have a GET connection by default.
Bill
 
 
subject: calling servlets
 
Similar Threads
one servlet calling another servlet
calling a servlets
Dount in web.xml
The action attribute of the form tag
Servlet Calling?