Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Communication using java.net

 
harsha madiraju
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
harry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic