Pregunta

I have a @ModelAttribute someString in my Controller. How can I access the value in my JSP? I tried this:

<form:input path=""/>

but it doesn't work

Please help.

¿Fue útil?

Solución

Have you tried to define it in the jsp form? Something like this..?

<form:form id="form" action="${formAction}" method="post" modelAttribute="someString" enctype="multipart/form-data">
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top