質問

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.

役に立ちましたか?

解決

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">
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top