The above code sets form as:
<form name="sayHiForm" method="POST" action="/struts">
and not
<form name="sayHiForm" method="POST" action="StrutsSayHi.do">
Oh, I totally forgot that I'd asked this question in this forum.
Line 19 from web.xml should be:
So that all files ending with .do extension can be forwarded to ActionServlet.
I wonder why it doesn't work with <url-pattern>/StrutsSayHi.do</url-pattern>
OCPJP6
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss