You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/08/19 18:24:05 UTC

DO NOT REPLY [Bug 30756] New: - MySQL DBCP Example Documentation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30756>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30756

MySQL DBCP Example Documentation

           Summary: MySQL DBCP Example Documentation
           Product: Tomcat 5
           Version: 5.0.0
          Platform: Other
               URL: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-
                    datasource-examples-howto.html
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Documentation
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: s803738@pacific.net.sg


MySQL DBCP Example Documentation

The following suggestions help to make sure that the example application works.

Suggestions

1. Add the "flush privileges" to the list of SQL commands for DBTest database
2. To replace "...Foo ${row.foo}..." with "... Foo <c:out value="${row.foo}" /> ..."
3. TO replace "...Bar ${row.bar}..." with "...Bar <c:out value="${row.bar}" /> ... "
4. To include the following lines in the web.xml
  <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
    <taglib-location>/WEB-INF/tlds/sql.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
  </taglib>
5. To include a sample directory structure about how the files are likely to be
kept. For example,

/DBTest/
/DBTest/test.jsp
/DBTest/WEB-INF
/DBTest/WEB-INF/web.xml
/DBTest/WEB-INF/lib/standard.jar
/DBTest/WEB-INF/lib/jstl.jar
/DBTest/WEB-INF/lib/*.jar
/DBTest/WEB-INF/tlds/c.tld
/DBTest/WEB-INF/tlds/sql.tld
/DBTest/WEB-INF/tlds/*.tld
/DBTest/WEB-INF/classes

6. To replace the following sentence "...Once you have JSTL, copy jstl.jar and
standard.jar to your web app's WEB-INF/lib directory..." with the following
sentence -> "...Once you have JSTL, you can copy all the jar and tld files to
your web app's lib and tlds folders respectively ..."

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org