Spring MVC PDF View Example

You may also like...

Subscribe
Notify of
guest
3 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Kamil Humbatov
Kamil Humbatov
May 26, 2017 13:40

How can I change pdf path?

Артём Кобелев
Артём Кобелев
June 15, 2017 10:35

Thanks for example app!

XML config for view mapping provided in example doesn’t work.
Only java config WebConfig.java works.

Could you verify and fix that, please?

Memorynotfound.com
Memorynotfound.com
June 16, 2017 09:42

Hello,

I Just tested the Spring XML Configuration and it should work.
How are you importing the xml configuration?

You can add the configuration using following java configuration:

@Configuration
@ImportResource("classpath:app-config.xml")
public class WebConfig extends WebMvcConfigurerAdapter{

}

Make sure you don’t mix @EnableMvc and mvc:annotation-driven

Kr,
Memorynotfound

3
0
Would love your thoughts, please comment.x
()
x