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

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -