I'm trying to get a JAX-RS Rest Application to be more MVC. However I'm having trouble getting it to work. I'm using Java 6 and glassfish 3.1.2.2
I posted my sample war repo on github https://github.com/jstralko/JAXRSMVC
Basically my web.xml file is:
My Java Rest Resource File is:
My JSP is under WEB-INF/jsp as per my JSPTemplatesBasePath.
Everything deploys successfully but when I try and access /hello via localhost:8080/hello i get a 404. Is there something stupid I'm missing?
Thanks.
I posted my sample war repo on github https://github.com/jstralko/JAXRSMVC
Basically my web.xml file is:
My Java Rest Resource File is:
My JSP is under WEB-INF/jsp as per my JSPTemplatesBasePath.
Everything deploys successfully but when I try and access /hello via localhost:8080/hello i get a 404. Is there something stupid I'm missing?
Thanks.