happyfish100 / happyfish100/fastdfs-client-java
通过网页上传文件的获取文件流问题
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 891
- PR merge metrics
- No merged PRs in 30d
Description
通过jsp上传文件时,在后端的Servlet中,通过 InputStream inputStream = request.getInputStream() 方式获取文件流,上传到Fastdfs后,图片显示不完整,这个问题请问有人有解决方案吗?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the JSP upload path described in the issue, using Servlet request.getInputStream() and the FastDFS upload flow. Inspect the repository's Java client entry points for file uploads and compare the stored image with the original; done means the complete image is uploaded and displayed correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100