Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

get value from file type input tag

 
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
 
Author
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
Posts: 12617
IntelliJ IDE Ruby
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • 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
 
Straws are for suckers. Now suck on this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic