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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -