I am working on a JSP page that allows user to upload an image file. This file will be later saved in database and will be used as their profile image. How can I open a file chooser dialog on click of a href link ?

I know about the `<input type = "file" />` solution but that is not part of the page design and I must open the file chooser from a href only.