We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
部署到tomcat,进入项目首页是xxx.xxx.xxx/blog。点击跳转到某一页面是(如友链)xxx.xxx.xxx/links,这时候只有通过xxx.xxx.xxx/blog/links 才能正确访问到友链页面,不然tomcat会404.
The text was updated successfully, but these errors were encountered:
你这是多了一级目录啊,可以改下代码路径,或者把项目部署到webapps/ROOT下,而不是webapps/ROOT/blog下,可能是你的设置问题,自己改一下就好,不影响使用吧。
webapps/ROOT
webapps/ROOT/blog
Sorry, something went wrong.
问题解决了,非常感谢。
请问你怎么解决的
请问怎么解决的
我是修改web.xml文件 如下所示, app是我这个项目的名字。
No branches or pull requests
部署到tomcat,进入项目首页是xxx.xxx.xxx/blog。点击跳转到某一页面是(如友链)xxx.xxx.xxx/links,这时候只有通过xxx.xxx.xxx/blog/links 才能正确访问到友链页面,不然tomcat会404.
The text was updated successfully, but these errors were encountered: