happyfish100 / happyfish100/fastdfs-client-java

通过网页上传文件的获取文件流问题

Open
#30 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.