How to send a html page from java -


i have form html page:

<form name="form1" id="form1" action="test" method="post" enctype="multipart/form-data">     <input type="hidden" name="hiddenfield1" value="ok">     file upload:     <input type="file" size="50" name="file3">     <br/>     <input type="submit" value="upload"> </form> 

i want send file page calling java , passing file path through client.

how this?

you need library commons fileupload implements part of web browser fills out forms (and "upload files" part).


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -