eclipse - cannot find my resources on a tomcat server -


I am working with a spring project in eclipse and I have configured my resources on local resources. I do not know where my resources will be found, I have tried the following:

http: // localhost: 8080 / edutainer2 / 404.html

http: // localhost: 8080 /edutainer2/resources/web/404.html

http: // localhost : 8080 / 404.html

I do not know you want to know That's what you want to go. I also want to know if my request mapping will be on the same root path. If it does any help, then my project is:

Enter image details here

Fix: My Request Mapping pages appears on the path / site , although I still get unsure about plain HTML / CSS pages Am

If you have mapped your dispatcher servlet to "/" then you define custom handler Which will forward all requests for the stable, add the following resource to the default handler of servlet container (tomak in your case) in your MVC servlet reference:

  & lt; Mvc: resource mapping = "/ resource / **" location = "/ resource /" />  

Then the second work of your tried URL


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -