简体   繁体   中英

html form post submit

<html>
<body>
    <h1>JAX-RS Upload Form</h1>

    <form action="/AlbumApplication/rest/createUserphotoDirectory/1/FeedServer" method="post" enctype="multipart/form-data">

       <p>
        Select a file : <input type="file" name="uploadedFile" size="50" />
       </p>

       <input type="submit" value="Upload It" />
    </form>

</body>
</html>

hi when i submit from html form i take (java.lang.RuntimeException: Could find no Content-Disposition header within part). please help me!!!

This is a java handling error. Your form is fine, but java's handling of the result is the problem.

See restful image upload exception

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM