aspose file tools*
The moose likes Android and the fly likes URLConnection to Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "URLConnection to Servlet" Watch "URLConnection to Servlet" New topic
Author

URLConnection to Servlet

Susan Fahem
Greenhorn

Joined: Feb 21, 2011
Posts: 1
I know that this post seem repeated, but I tried alot befor posting.
I have an android application that I want to make it connect to a servlet through a URLConnection. but when I send the data I want, I just recive nothing on the servlet.

the android part


and the servlet part is



anybody urgently help?
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Does your servlet print that 'inpost' ?
R Hoefer
Greenhorn

Joined: Oct 27, 2011
Posts: 10
See if this helps.

http://stackoverflow.com/questions/4844535/why-do-you-have-to-call-urlconnectiongetinputstream-to-be-able-to-write-out-to
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URLConnection to Servlet