Win a copy of Learn Spring Security (video course) this week in the Spring 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