This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parse incoming http request body

 
kalyan enganti
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic