Home >Web Front-end >HTML Tutorial >The browser image does not display, myeclipse preview displays _html/css_WEB-ITnose

The browser image does not display, myeclipse preview displays _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:22:061521browse

Browser Picture

This is my designed login interface

After logging in, remove the loginAction and display the login interface

I don’t know what’s going on? Why can't Lu Jin be displayed? Please give me your opinion

Reply to the discussion (solution)

Haha 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:

URL tag based on the JSTL c:url tag. This variant is fully
backwards compatible with the standard tag. Enhancements include support
for URL template parameters.

url
org.springframework.web.servlet.tags.UrlTag

JSP

The URL to build. This value can include template place holders
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.

value
< ;required>true
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. . .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn