0

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: enter image description here

1 Answers1

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
  • 30,527
  • 3
  • 46
  • 72