将angularjs与弹簧结合在一起

时间:2016-01-11 14:30:58

标签: angularjs spring

我正在尝试将AngularJS与Spring集成。我已将app,js添加到资源文件夹中。我认为位置合适但仍出于某种原因我收到此错误

http://localhost:8080/DFDemo/resources/angular/app.js Failed to load resource: the server responded with a status of 404 (Not Found)

<%@ page session="false"%>
<html>
<head>
<title>Upload File Request Page</title>     
<script        
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js">        

</script>
<script src="resources/angular/app.js"></script>
</head>
<body>
<form method="POST" action="uploadFile" enctype="multipart/form-data">
    <h1>Data Finder Batch upload</h1>
    <br /> <input type="file" name="file" /><br /> <br />
     <input type="submit" value="Upload" />
     <input type="hidden" value="hygiene" name="jobname" />
</form>

</body>

以下是我的文件夹结构 enter image description here

有人能告诉我这有什么不对吗?

0 个答案:

没有答案