Hello,
I put a browser in my jsp page, and when I select the file via the browser and I'm doing a System.outn select the file path, I only have the name, and I need to recover all the file path selected
<form:form onsubmit="document.getElementById('idButton').value='Traîtement en cours ...'" action="ajouter.html"
method="POST">
<input type="file" name="cible">
<input type="submit" id="idButton" name="ajouter" value="Ajouter" tabindex="50"/>
</form:form>
(ActionForm)
String leChemin = (String) request.getParameter("cible");
System.out.println("leChemin = " + leChemin);