Sto provando a eseguire l'app di avvio Spring con alcuni HTML5 e JavaScript e ho un problema.Spring Boot aggiungere HTML e JavaScript
devo struttura del progetto come questo:
My Spring MVC Controller è chiamando il file offer.html e che funziona bene.
mio aspetto offer.html file in questo modo:
<!DOCTYPE html>
<html lang="en" ng-app="coByTu">
<head>
<title>Page</title>
<script type="text/javascript" src="../js/lib/angular.js" />
<script type="text/javascript" src="../js/src/offer.js" />
</head>
<body>
</body>
</html>
E quando sto scrivendo il mio URL app http://localhost:8080/offerView
risposta dal server è:
ho non ho idea del motivo per cui la mia app non vede questo file di script, qualcuno potrebbe aver idea di cosa ho fatto di sbagliato?
Fare riferimento a https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/modular – EpicPandaForce