Re: Using query string values in JSP

2000-03-28 Thread Bradley McLain
whether their values are equivalent. thats a powerful piece of flexibility--one that you have elsewhere as well.. bradley mclain >From: Divya M A <[EMAIL PROTECTED]> >Reply-To: Divya M A <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Using query string values in JSP

Re: Using query string values in JSP

2000-03-27 Thread Mark Wilcox
ginal Message - > From: Mike McKechnie <[EMAIL PROTECTED]> > To: Divya M A <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Monday, March 27, 2000 4:55 PM > Subject: Re: Using query string values in JSP > > > > > if (request.getParameter("

Re: Using query string values in JSP

2000-03-27 Thread Divya M A
ages!?! - Original Message - From: Mike McKechnie <[EMAIL PROTECTED]> To: Divya M A <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 27, 2000 4:55 PM Subject: Re: Using query string values in JSP > > if (request.getParameter("val") == "

Re: Using query string values in JSP

2000-03-27 Thread Bradley McLain
>To: [EMAIL PROTECTED] >Subject: Using query string values in JSP >Date: Mon, 27 Mar 2000 16:34:07 -0500 > >Hi! >I'm new to JSP. I have a JSP file which must perform a task depending >on >the value passed through a query-string in the url. But I am not able to >make

Re: Using query string values in JSP

2000-03-27 Thread Mike Van Riper
to:[EMAIL PROTECTED]] > Sent: Monday, March 27, 2000 1:34 PM > To: [EMAIL PROTECTED] > Subject: Using query string values in JSP > > > Hi! >I'm new to JSP. I have a JSP file which must perform a > task depending on > the value passed through a query-string in the url.

Re: Using query string values in JSP

2000-03-27 Thread Mike McKechnie
> if (request.getParameter("val") == "1") In Java, the '==' operator does an identity comparison -- that is, two object references are equal only if they refer to the same object. To lexically compare two strings, do something like: if (request.getParameter("val") != null && request.getParamet

Using query string values in JSP

2000-03-27 Thread Divya M A
Hi! I'm new to JSP. I have a JSP file which must perform a task depending on the value passed through a query-string in the url. But I am not able to make the comparison;i.e, if my url is : 'first.jsp?val=1' and in the jsp file, I check the value of the string passed as shown below: if (reques