File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "URLConnection to Servlet" Watch "URLConnection to Servlet" New topic

URLConnection to Servlet

Susan Fahem

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

Joined: Oct 27, 2011
Posts: 10
See if this helps.
I agree. Here's the link:
subject: URLConnection to Servlet
It's not a secret anymore!