Hello, explain how to display image1.jpg?
Structure:
I read similar topics, where it is written that images and other content should be located in the webapp folder, someone writes that they can be placed separately from the webapp folder (jstl is mentioned). ps Until now it is not clear why the pictures are not displayed at all, if the servlet contains urlPatterns = {"/"} below they were given a link, I just realized that this is a bad practice ..
|
urlPatterns = {"/"}. Here at stackoverflow.com/questions/4140448/... one authoritative dude writes that this is a bad template for a servlet. Because of this, the standard handler overlaps, which among other things is responsible for the pictures. - Sergey