Re: handling Query strings

2001-02-26 Thread Balkrishna
to the same method for the same > parameter. > Have a nice day. > With regards, > Sachin S. Khanna. > www.emailanorder.com > > - Original Message - > From: Balkrishna <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 29, 2001 11:1

Re: handling Query strings

2001-02-26 Thread Sachin S. Khanna
method for the same parameter. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: Balkrishna <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 29, 2001 11:13 PM Subject: Re: handling Query strings > One possi

Re: handling Query strings

2001-02-25 Thread Rishabh Agarwal
Why don't u use the method getParameterNames() on the request to iterate through the available name/ vale pairs before retrieving the values of the same. Think it's more elegant and fast. Hope it helps. PS: U can use the method getParameterValues() after that to get the values of the same and p

Re: handling Query strings

2001-02-25 Thread Balkrishna
One possible solution for this is first check the parameter for null if its null dont get that parameter e.g. if(request.getParameter("id")!=null) { String str = request.getParameter("id") ; } - Original Message - From: "Venkat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sat

Re: handling Query strings

2001-02-24 Thread phil swenson
go to servlets.com and download the oreilly servlet package. it has a nice parameter parser that will handle the cases you are looking at. - Original Message - From: "Venkat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 24, 2001 5:41 PM Subject: handling Query stri