Home > Web Front-end > HTML Tutorial > web page CSS javascript_html/css_WEB-ITnose

web page CSS javascript_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:09:29
Original
941 people have browsed it

I wrote a page using strut Hibernate. The jump is implemented in the action class, but the effects of css and javascript are not displayed, but the effect can be seen by directly accessing the absolute path. What is going on?
Please help Renjie...


Reply to the discussion (solution)

The strut you are talking about is not Hibernate I understand,
but are you using server-side redirection like response.redirect? In this case, of course you won’t be able to see the front page.
If you want users to jump after viewing the front page, use
js jump window.setTimeout("window.location='xxx.htm'",3000):
or html meta jump

When referencing css and javascript files, use their absolute paths in the project

Thank you for your help, follow the instructions of the host Acesidonu The method can be solved.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template