My form has a date property in certain format. I'm trying to display it and send it back with a different format. Displaying it is easy with fmt:formatDate. The problem is when I return back that field back to the servlet it has the original format. Here's the code
I'm expecting this to return the item.date in that format i'm giving it, but im getting the original format when I debug into what I get dd-mm-yyyy.
So you are saying that the parameter is not being submitted as it is stored in the value attribute? I find that difficult to believe. Are you checking the HTTP request using a sniffing tool to see what's actually being submitted?