Mapping 2 form:input tags to handle dynamic Map<String, String> command field
Ok, I've got what seems to be kind of an unusual case. For a specific application we have created a kind of image metadata tracker that generates an xml file for us, the purpose of which is to tell our application what dimension symbols apply to a specific drawing. These are stored as String symbol and String dimensionName in a database table. (We have several hundred drawings, hence the need for this).
Toward that end I have the following command field which I need to be able to populate in a jsp:
with something along the lines of this:
private Map<String, String> dimensions;
Note: I'm currently using Spring 2.5.6, and need to get this working under that framework. However we're also planning a future upgrade to Spring 3 and I understand the method of handling this stuff will be different, so if you happen to be able to provide support for both the spring 2.5.x method and the 3.0.x method it would be greatly appreciated :)