我需要一个将视频上传到文件夹的java上传器。 [英] I need a java uploader that uploads a video to a folder.

查看:71
本文介绍了我需要一个将视频上传到文件夹的java上传器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要一个java上传器,用户可以点击按钮,它会说上传视频并选择一个视频,然后上传到一个文件夹。



我尝试了什么:



我还没有办法做到这一点。

Hi,
I need a java uploader that a user can click a button and it will say "Upload a Video" and they choose a video and it uploads to a folder.

What I have tried:

I have not found a way to do it yet.

推荐答案

鉴于此功能的常见性,我确信一个简单的谷歌搜索将为您提供数百甚至数千个相关示例来完成您想要做的事情。 。



上传文件到java中的服务器 - Google搜索 [ ^ ]



首批结果之一:



< a href =http://docs.oracle.com/javaee/6/tutorial/doc/glraq.html> fileupload示例应用程序 - Java EE 6教程 [ ^ ]



现在,如果你真的想要实现你想要的功能并遇到问题,请随时回过头来清楚地解释你的问题,你遇到的错误或问题以及任何相关的代码示例,以便某人可以帮助您解决问题,并为您提供更有意义的帮助。
Given how common this functionality is I am certain a simple google search will provide you hundreds or even thousands of relevant examples to accomplish what it is you want to do.

upload files to server in java - Google Search[^]

One of the first results:

The fileupload Example Application - The Java EE 6 Tutorial[^]

Now if you were to actually attempt to implement the functionality you are desiring and run into problems, feel free to come back with a clear explanation of your issue, the errors or problems you are encountering and any relevant code samples so that someone can help you troubleshoot your issue and provide you more meaningful assistance.


这篇关于我需要一个将视频上传到文件夹的java上传器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆