What JSP container are you using? From what you say, it sounds as if the container is mis-diagnosing the problem and returning a simple 404 instead of any useful information.
I believe that a JSP container can, when no errorPage is defined, handle errors and exceptions in an implementation-defined manner. If you use an errorPage, however, the implementation must fall in line with standard behavior. Therefore, if you "catch" the exception with an errorPage (see the <%@ page %> directive), you should be able to use the implicit object 'exception' to get more information. Shawn On Wed, 16 Jan 2002, mbutu zezezeko wrote: > Hi, > > Does anyone know why i get "Error 404--Not Found" when there is a small > error in for example the query. I get no stacktrace either so it's > hard/impossible to debug. > > I have the same problem with i18n tags when a key is not found. > > br, > mz > > <database:connection id="connection" jndiName="somePool"/> > <database:statement id="statement" conn="connection"> > <database:query> > SELECT * FROM logging > </database:query> > <database:resultSet id="result"> > <tr> > <td><database:getColumn position="1"/></td> > <td><database:getColumn position="2"/></td> > </tr> > </database:resultSet> > </database:statement> > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > -- > 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]>