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

Parse incoming http request body

kalyan enganti
Greenhorn

Joined: Dec 12, 2011
Posts: 6
HI I am teaching myself android development.To start with I have implemented a webserver on android using apache http utils, which serves a login page.I would like to know how can I parse the login form on android server side .This web server serves content on the fly based on the uri requested.Say when the login page is submitted the form is posted to /login.do on the localhost:8080.I have registered a handler for that action as shown below.I was wondering if there is a way to parse the request body in my handler and serve the html accordingly.I have only one field in the form to parse namely password.Any ideas or pointers in the right direction would be greatly appreciated.Thanks

 
jQuery in Action, 2nd edition
 
subject: Parse incoming http request body