Inject the org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView to your controller, set the URL property and return it as your modelandview.
[^_^]
IPBS
Type: Posts; User: issotyo; Keyword(s):
Inject the org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView to your controller, set the URL property and return it as your modelandview.
[^_^]
IPBS
Same problem happen to me before, either:
1. ireport and spring using different JDK (build using jdk 1.5 run by spring using jdk 1.4.2 ) or
2. ireport and spring using different version of...
Yes it won't work, because tomcat 5.5 dissalow only * as url pattern. On my project, I would prefer use :
<url-pattern>*.form</url-pattern>
So all url ended with .form will be processed by...
change it to
<servlet-mapping>
<servlet-name>archive</servlet-name>
<url-pattern>*</url-pattern>
</servlet-mapping>