java - Spring MVC return modelandView class -
return new modelandview( ? , "listbooks", listbooks); at place ? want return class=> net.codejava.spring.pdfbuilder. possible if yes how?
it not possible pass class. constructor is:
modelandview(view view, string modelname, object modelobject) you can supply pdfbuilder object since successor of view need use object , not class.
return new modelandview( mypdfbuilderobject , "listbooks", listbooks);
Comments
Post a Comment