DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5214>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5214 code is wrong in docs example Summary: code is wrong in docs example Product: Struts Version: Nightly Build Platform: Other URL: http://jakarta.apache.org/struts/userGuide/building_mode l.html#databases OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I realize this is rather anal, but I figured I'd report it anyways. The code block given in the above section on connecting to a relational db won't compile. The declaration of the variable myConnection is in the try block. Later close() is called on it in the finally block. Since in the finally block, it would be out of scope, it'd get a compiler error. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>