java - SpringMVC POST method mapping won't load page when the method contains a specific Class -
i have item class , form:
<form:form method="post" commandname="item" action="/item/add"> @requestmapping(value = "/add", method = requestmethod.post) public string itemadd(@modelattribute("item") item item){
whenever include item in function parameters, page not load. method works fine. including other class in parameters (or empty) works fine need use item in function.
anyone have ideas why isn't working?
Comments
Post a Comment