Hi

I had got this problems before.

I think your jsp may be connect to database. This occur because the
apostrophe symbol insert to your sql statement.

Fong

----- Original Message -----
From: "Seth Brahler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 05, 2002 1:54 AM
Subject: JSP Form Problem


> I know this is a Tomcat list, but my back is against the wall and I'm
> hoping someone can help.
>
> I just discovered that my form breaks if the user types in an apostrophe.
>
> On the process page, i am setting the passed variable to a string.
> "filelocation" is the name of my text field:
>
> String filelocation = request.getParameter("filelocation");
>
> How can I stop this from happening? There may be times when the user has
to
> use the apostrophe symbol (obviously).
>
> Thank you.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to