0

I have this html form

<form enctype="multipart/form-data" action="upload.php" method="POST">
        <textarea rows="5" cols="50" name="links" id="links" style="margin-left: 2px; margin-right: 2px; width: 428px; margin-top: 2px; margin-bottom: 2px; height: 149px; "></textarea>
        <input type="hidden" name="uploadtype" value="links">
        <br>
        <button type="submit" name="submit"></button>
        </form>

How to write some data in the text area and click the submit button using java?

1
  • Are you attempting to send multipart from Java code? If so do you have thin Java client or what? Commented Nov 12, 2011 at 17:15

1 Answer 1

2

You can try apache http client Http Client

And try latest "version" HttpClient

Example

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.