【问题标题】:Bootstrap.min.css cdn not applying in JSP pageBootstrap.min.css cdn 不适用于 JSP 页面
【发布时间】:2018-12-17 15:28:20
【问题描述】:

我在 Jsp 中使用了 html 来制作登录页面。我在 jsp 页面中使用了 Boostrap.min.css CDN 和 Font-awesome.min.css 进行样式设置,但 css 不适用。 IDE 名称 - Netbeans 8.2 Spring MVC 项目。 Please have look on the image of jsp page

【问题讨论】:

    标签: html css spring jsp netbeans


    【解决方案1】:

    只需从WEB-INF 中移动resources 文件夹即可。并将此文件夹放在Web Pages 文件夹下。并在 jsp 页面中删除 .. 中的 <link href=""> 和元素将退出。

    【讨论】:

    • 好的,我试试这个。
    • @PrinceRoshan 得到你预期的结果了吗?
    猜你喜欢
    • 1970-01-01
    • 2020-10-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-02
    • 1970-01-01
    • 2021-08-01
    相关资源
    最近更新 更多