try:在JSP页面中加入如下代码:
request.setCharacterEncoding("GB2312");

解决方案 »

  1.   

    不好意思,写错了。上面是回答别人的问题的。
    你的问题可以参考:
    A database is represented by a directory under the data directory, and the directory is intended for storage of table data. If you drop a database but yet its name still continues to show up when you issue the SHOW DATABASES; command, it is more than likely that the directory contained non-table files. The DROP DATABASE statement will remove all table files and then remove the directory that represented the database. It will not, however, remove non-table files, whereby making it not possible to remove the directory. This means that the database directory will continue to exist (albeit empty of any tables) and the SHOW DATABASES; command will continue to display it has a database. 
    If this occurs, you can really drop the database manually by removing any remaining files in the database directory and then the directory itself. The newest releases of MySQL displays an error message when it cannot remove the directory, so this problem should not occur with users using a current release of MySQL. 
      

  2.   

    我试过DROP DATABASE 'stu',不行。