This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet Communication using Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Communication using" Watch "Servlet Communication using" New topic

Servlet Communication using

harsha madiraju

Joined: Dec 20, 2004
Posts: 10
Hi all,

I am trying to pass some data to a servlet from a java class using HttpURLConnection. But I am not getting the desired output i.e. the servlet is not invoked (it does not print the dummy strings given println())

Following is the code of the java class

Following is the code of servlet

thanks in advance,

I agree. Here's the link:
subject: Servlet Communication using
jQuery in Action, 3rd edition