It gives HTTP Status 404, The requested resource is not available for both the urls.
I know JSTL/EL can't work on HTML pages. I tried using $location of angularjs to get context path. but $location is also coming as null, while loading of the page.
Swapnil Dubey wrote:
1. When I run my application the index.html(created using angularjs) declared in welcome-file-list of web.xml is getting opened. But when I click on submit entering some details. it is not forwarding to either controller or to the path I defined in @requestMapping. I've got stuck and I don't know what exactly I am missing.
Swapnil Dubey wrote:
2. I am not getting the context path in my html page which I could easily by EL or JSTL in JSP. What should I do to get the context path considering I am not going to use JSP at all.
javax.faces.FacesException: #{testeHibernate.save}: org.hibernate.MappingException: Unknown entity: classhiber.Utilizador