Hello,
I have created a war file with the following command:
mvn compile war:war
The war application is written in spring, hibernate, jpa, view is
jsp, running in glassfish 3.1 server.
The deployment is completed successfully, and i have verified that the war file is display under the Application menu option in glassfish Admin console.
The jsp file is guest.jsp which is shown below:
The mapping is also inplaced in the WEB-INF/context/applicationContext.xml file:
Typing the following url
localhost:8080/guest-book/guest.jsp
resulted:
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
GlassFish Server Open Source Edition 3.1
Here is my source tree about where jsp file is:
WEB-INF/context/applicationContext.xml
WEB-INF/jsp/guest.jsp
I don't know what is wrong is my file structure or definition in my xml file.
Can anyone please suggestion a way to resolve this error?
Any suggestion is very much appreciated.
Thanks
Sam