Mohana Rao wrote:Define namespace in package.
<package name="bookshop" extends="struts-default" namespace="/JSP">
And modify result types like this
Mohana Rao wrote:what is the url it's producing when you are getting that error message.
Mohana Rao wrote:Then do one thing make the namespace as / instead of "/JSP".
Surely, you are facing problem with namespace.
Mohana Rao wrote:http://localhost:8084/BookShop/index.action(where is index action in struts.xml file)
Make this change http://localhost:8084/BookShop/index.jsp and in index.jsp redirect to login.action.
Mohana Rao wrote:<% response.sendRedirect("login.action"); %> //Try to understand what the change i made.