Disallows the user from editing the value of the input. if you meant the file contents, then with a html 5 browser (safari, chrome, firefox, IE 10+), you can use the file api to read the file. LINE 14 -- System.out.println(request.getContentLength()); Why I can't persist this content as a file. What i would like to do is geting the value from input file and make it showing at input text, the value the input text is geting is from database mysql – Bruno Ferreira Feb 9 '15 at 12:10 of course in modern browsers this is read only. $(“input type=[file]”).val(image_link) That would be extremely useful, but at the same time, extremely dangerous. Add CSS¶. Aslo add the width property set to "100%". Tip: Always add the