tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward W. Rouse" <ero...@vei.net>
Subject Re: Direction and escape sequence...
Date Thu, 15 Jun 2000 20:05:55 GMT
Have you tried escaping the special charactors? ie "select \* from
students"
and '\('  and '\)'.
Ed.

Moises Solis wrote:

> Thank you for your time and sorry for using bandwidth.
>
> Is there a better forum to help me find a solution?
>
> I'm trying to pass a parameter to a javabean on a JSP.    The parameter is
> an SQL statement that has characters that TomCat believes to be "special
> characters".    For example: "select * from students"    The error refers to
> the *.     It also complains about '(' and ')' that are being used for an
> inner join.    I have other work-around.     Is there a way to pass in
> special characters?
>
> Basically, I created a "simple" generic javabean that allows two parameters:
> a database driver name and the SQL code.    It returns rows of data
> formatted using CSS.
>
> Thanks,
> Moises.
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message