File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Communication using java.net

 
harsha madiraju
Greenhorn
Posts: 10
  • 0
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic