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.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton