Browser Picture
This is my designed login interfaceHaha I guess there was a lack of pictures when publishing the site
It's impossible. I found this picture in the netCourse project under tomcat's webapps folder. Firebug showed that loading the specified URL failed, but after the user successfully logged in, the login interface was displayed after removing the loginAction in the address bar, and the picture was displayed. , is it the influence of Action. Or what configuration should be added to the configuration file web.xml, or something else. The defense will be held in three days. Please help me if I know the reason.
Replace img src with the full path, http://localhost:8080/netCaurse/images/u.jpg
Also check the file permissions of u.jpg.
Thanks for your suggestion. I changed it to Absolute Road King, but it still didn't work. I created a new page and only displayed the u.jpg image. Is it a resource loading problem, an interceptor problem, or a spring.tld file configuration file problem.
spring.tld file configuration information:
backwards compatible with the standard tag. Enhancements include support
for URL template parameters.
that are replaced with the URL encoded value of the named parameter. Parameters
must be defined using the param tag inside the body of this tag.
< ;required>true
Everyone, thank you for your answers, I solved it myself, my interceptor The entire website is intercepted, so the resources are not loaded. If my main page is not the login interface, it will be fine. . .