I try to convert a String that contains for example 28-11-2015
to put it as default value on html date input but to do this it must be like that 2015-11-28
HTML / JAVA / JEE / SQL
NB: The String is request value of another input that it have been inserted by the user.
<input type="date" value="${date_rv}" name="date_rv_i" readonly ><br>
And this is what I want