This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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">
Joined: Jul 26, 2004
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.