如何在java应用程序GUI中将文件上传到MySQL数据库? [英] How to upload file to MySQL database in java application GUI?
本文介绍了如何在java应用程序GUI中将文件上传到MySQL数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在java应用程序中将文件写入MySQL数据库时遇到问题。可以给我看一个示例代码吗?谢谢!
I am facing problem to writting file to MySQL database in java application. Can show me a example code? Thanks!
推荐答案
我在java应用程序中将文件写入MySQL数据库时遇到问题。可以给我看一个示例代码吗?谢谢!
I am facing problem to writting file to MySQL database in java application. Can show me a example code? Thanks!
看看这个 。
你遇到什么问题?
Have a look at this.
What part are you having trouble with?
看看这个。
你有什么部分麻烦?
Have a look at this.
What part are you having trouble with?
我在从FileChooser读取文件时遇到麻烦。
I trouble in part reading file from FileChooser.
你对FileChoosers有什么麻烦?是否有错误消息,你没有得到正确的目录....?
What trouble are you having with FileChoosers? Is there an error message, are you not getting the right directory....?
这篇关于如何在java应用程序GUI中将文件上传到MySQL数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文