-Original Message-
From: Rama [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 5:17 AM
To: [EMAIL PROTECTED]
Subject: request.getParameter problem
Hi,
it seems that request.getParameter does not always successful in POST
method.
is there any way to make it 100% successful
PROTECTED]] On Behalf Of David Cassidy
> Sent: Tuesday, December 04, 2001 03:22 AM
> To: Tomcat Users List
> Subject: Re: request.getParameter problem
>
>
> Or you could try
>
> if ( "yes".equals(request.getParameter("modify") ) )
> {
> out
; An: [EMAIL PROTECTED]
> Betreff: request.getParameter problem
>
>
> Hi,
>
> it seems that request.getParameter does not always successful in POST
> method.
> is there any way to make it 100% successful?
>
> i'm using tomcat 4.01.
>
> if (request.getParame
< your action if the parameter is empty here >
> }
>
> Otherwise you can end up with a NullPointerException from reading a NULL
> parameter.
>
> /Christopher
>
> > -Original Message-----
> > From: Rama [mailto:[EMAIL PROTECTED]]
> > Sent: d
t; your action if the parameter is empty here >
}
Otherwise you can end up with a NullPointerException from reading a NULL
parameter.
/Christopher
> -Original Message-
> From: Rama [mailto:[EMAIL PROTECTED]]
> Sent: den 4 december 2001 11:17
> To: [EMAIL PROTECTED]
>
Hi,
it seems that request.getParameter does not always successful in POST
method.
is there any way to make it 100% successful?
i'm using tomcat 4.01.
if (request.getParameter("modify").equals("yes")) {
out.write("modify listings");
}
Rama
___