I read related topics and didn't understood,i must put images and all static content under root or i can put in any folder?(how i can display image1.jpg?)
p.s. I didn't understood why all images don't display if point in servlet urlPatterns={"/"}.I found only that urlPatterns={"/"} is bad practise,but why images are not display ?
Structure folders:
Asked
Active
Viewed 54 times
0

Александр
- 137
- 3
- 10
1 Answers
0
You use the fabric driver which has the following URL scheme:
jdbc:mysql:fabric://fabrichost:32274/database
Alternatively you can use the normal Mysql JDBC driver which is com.mysql.jdbc.Driver
So either change the URL scheme or the driver class.

wero
- 32,544
- 3
- 59
- 84