xml - multiple class mapping in CastorMarshaller -
i have 2 pojo classes have create single xml file. project using spring mvc. so, send single class controller , marshaller easy. used return new modelandview("xmlview", "xml", modelname);
, define xmlview
in appname-servlet.xml
remaining stuff. maps modelname.java
fields respective fields in xml. now, have requirement map multiple classes. can done single model can returned controller? can create new class nested class in modelname.java
if solve problem.
Comments
Post a Comment