Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我能';不要将我的css导入到java web项目中_Css_Jsp - Fatal编程技术网

我能';不要将我的css导入到java web项目中

我能';不要将我的css导入到java web项目中,css,jsp,Css,Jsp,如何将文件css导入到project java web? 这是我的代码: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&g

如何将文件css导入到project java web? 这是我的代码:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Demo Form Angular</title>
<script src="lib/angular.min.js"></script>
<link type="text/css" rel="stylesheet" href="<c:url value="/css/formAngular.css"" />
</head>
<body>
<div>
<p class="contain">Hello Angular</p>
</div>
</body>
</html>

演示表格

你好

放置该链接:

<link type="text/css" rel="stylesheet" href="css/formAngular.css"/>

而不是:

<link type="text/css" rel="stylesheet" href="<c:url value="/css/formAngular.css"" />


顺便说一句,如果你已经在学习制作新的网络应用程序,为什么不从最新的技术开始呢?使用HTML5,而不是HTML4.01!非常感谢,我能修好它