Bookmark Topic Watch Topic
  • New Topic

get value from file type input tag  RSS feed

 
deep raj
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Report post to moderator
i create input type="file" for upload a image
i want to get the value that i typed in text box at run time
can i get it through request.getParameter
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
You should use a multipart request processor library (like the one from Apache Commons, but there are others).
 
deep raj
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Report post to moderator
i cannot understand what you want to say
can you explain in details
or send me link from where i can understand it
or write the code
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Report post to moderator
Mr. Bear referred you twice to read JavaRanch JSP FAQ to read about file uploading, please do.
http://faq.javaranch.com/java/JspFaq
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!