Hai user
I am getting the following problem when using the jasper report
No adapter for handler [org.springframework.web.servlet.view.jasperreports .JasperReportsMultiFormat
what does this mean.
Thanks
anieshuk
Hai user
I am getting the following problem when using the jasper report
No adapter for handler [org.springframework.web.servlet.view.jasperreports .JasperReportsMultiFormat
what does this mean.
Thanks
anieshuk
Have a Nice day
Can you post your configuration? It looks like you are trying to map a URL to a View class rather than a Controller.
Rob
Hai
Here is mycode
ThanksCode:<bean id="springreport" class="org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView"> <property name="url"><value>/WEB-INF/reports/springreport.jasper</value></property> </bean> <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> <property name="mappings"> <props> <prop key="/ExportBooking.htm">exportbookingcontroller</prop> <prop key="/SpringReport.pdf">springreport</prop> </props> </property> </bean>
Have a Nice day
As I suspected - you are mapping the URL to the view and not to a Controller - your URLs must be mapped to Controller implementation.
Check out the JasperReports sample that is available in CVS for full details on how this should work.
Rob