Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to read the querystring..  RSS feed

 
toukhir mujawar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i have a problem in reading the querystring....

if suppose i have the url "/abc?zone=053&circle=539"

how should i read the value of zone and circle.

is request.getQueryString() the only way to read it.

if yes it will read as "zone=053&circle=539" then how should i seperate it.

should i take the substring or there is any other way out. kindly throw some light on it.

thanks in advance

Regards
Toukhir Mujawar
 
Abhishek Arya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use request.getParameter("zone"); and request.getParameter("circle"); to get the values of zone and circle attributes.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!