javascript - angularjs and spring app not running from war file -
i have been developing app uses angularjs , spring mvc. app runs in eclipse when run as...run on server
, view in web browser @ localhost : 8080 / appname
.
but have used eclipse maven pugin build war file , deploy war remote server. when type in domain name on remote server, text main index page, without of javascript, or css. since links javascript, , index page relies on client-side includes, can access in browser remote server small amount of unformatted text no links.
is there step creating executable war angularjs not aware of? methods used create war , install on server have worked many times spring-only apps running on same server, , developed in same eclipse installation on same devbox.
how can start diagnose problem? new angularjs.
how render angular files? use jsp + angular?
if using static files serve angular html static file serving working.this means wrong going javascript , css files mapping (wrong urls) otherwise if render jsp + angular maybe static content serving not working properly
does browser mappings wrong?(check out in browsers console) how did map paths css , javascript?
Comments
Post a Comment