• Post Reply Bookmark Topic Watch Topic
  • New Topic

form to upload files

 
kasia olbromska
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When i set the method=post in my upload files form then the value of submit button is null ?
can not set it to get because i get
the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null and the file is not uploaded.
So what should i do?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set the form tag's attributes properly?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kasia olbromska wrote:can not set it to get cos i get ...

Please use real words when posting to the forums. Abbreviations such as "cos" in place of "because" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the FAQ entry on this subject?
 
kasia olbromska
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry i even did not notice that i wrote "cos"
 
kasia olbromska
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Set the form tag's attributes properly?

my form is as follows


<form name="insert_candidate" action="x.jsp" enctype="multipart/form-data" method="post">
<input type="file" name="file" size="50" value="">
<input type="submit" name ="finish" value="ZakoŇĄcz">
<input type="submit" name ="add_next_file" value="Dodawaj">
</form>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the FAQ entry? Last time I will ask.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!