My JSP page stops output w/out throwing any exceptions when the following db tags are encountered: <sql:query> SELECT * FROM addressBook WHERE projid LIKE '%dbTest%' </sql:query> The last '%' in the expression '%dbTEst%' is what stops the jsp container from continuing its output. If I have the '%' in front w/out the '%' in the back everything is fine although that is not the expression I need. I need the last '%'. It seems to me there might be a conflict between the jsp '<%' reserved identifier and the last '%' in the expression. When I execute the statement in the phpAdmin MySql tool it works fine.
I tried to reproduce this in Tomcat 4.0 and MySQL, and could not. I added a "like" test to the jdbc.jsp file in the dbtags-examples app to demonstrate this. Which container exhibits this behaviour?
Created attachment 10587 [details] JSP showing that it works
Created attachment 10588 [details] Result of the test case
I second Morgan's comments - it is working (see attachments)