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...
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.