gpt4 book ai didi

java - 在html中使用spring标签

转载 作者:行者123 更新时间:2023-12-02 12:12:36 24 4
gpt4 key购买 nike

<!doctype html>
<head>
<meta charset="utf-8">
<title>Urban Wolf - Boutique Brand Management Firm</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#fff">
<meta name="description" content="Urban Wolf, the Palm Beach based boutique brand management firm with specializations in brand development, branding, and business consulting. No one wants to be the sheep">
<link rel="shortcut icon" href="Sheep/img/favicon-client2.png" type="image/png">
<link rel="icon" href="Sheep/img/favicon-client2.png" type="image/png">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" media="all" href="Sheep/css/app.css">
</head>

<body>
<p class="form__placehold">Full Name</p> <input class="form__input" name="name" type="text" pattern="^[а-яА-ЯёЁa-zA-Z0-9\s]+$" required>
<p class="form__placehold">Email</p> <input class="form__input" type="email" name="_replyto" pattern="/^[\w]{1}[\w-\.]*@[\w-]+\.[a-z]{2,4}$/i" required> <button class="form__btn" type="submit">Send Now</button> </form>
</div>
</div>
</div>
<!--end map-block-->
<footer class="footer">
<div class="container">
<a class="footer__logo" href="#"> <svg class="icon icon-logo"><use xlink:href="Sheep/img/sprite.svg#icon-logo"></use></svg> </a>
<p class="footer__copyright"> <span>&copy;</span> 2017 URBAN WOLF MANAGEMENT LLC. ALL RIGHTS RESERVED </p>
</div>
</footer>
</div>
</body>
</html>

如何将 Spring 标签连接到 HTML 文档,真的吗?或者,如果我使用 Spring,我必须仅使用 JSP 页面?

最佳答案

您将包含 spring 标签。要包含 spring 标签,JSP 文件应包含以下定义的信息。

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

强烈鼓励使用 JSTL 标签。但是要开始使用整个 spring 标签,您可以使用 GITHUB 存储库中的 spring 框架示例。, pet-clinic 。干杯。

关于java - 在html中使用spring标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46427038/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com