Hi Anil, Replace your action mapping with this in struts-config.xml <action path="/greeting" type="sample.GreetingAction" name="GetNameForm" scope="request" input="/pages/inputname.jsp" > <forward name="sayHello" path="/pages/greeting.jsp"/> </action> The problem is the request is being passed to your GreetingAction Servlet.Your GreetingAction Servlet knows to dispatch the request to "sayHello" to generate the response but it is not able to locate greeting.jsp since you had not mentioned the complete virtual path of greeting.jsp correctly.You have mentioned only (/greeting.jsp). In the inputname.jsp your action tag should be like this <html:action name="/greeting">
posted 13 years ago
I stuffed in up in the Action
Made some changes to the Action but forgot to take the complied classes from eclipse to the tomcat directory.
Skool. Stay in. Smartness. Tiny ad:
professionally read, modify and write PDF files from Java