Hey guys.I am using 1.1.In my jsp somewhere I have written <html:link action="regn">SignUp</html:link>.Also in the struts-config I have my action mapping as:
On clicking on the hyperlink SignUp,its not going to the regnform.jsp as on clicking on the hyperlink,the URL is coming as http://localhost:8080/JavaBondCom/regn.
It should come as regn.do.But the suffix .do is not getting attached on the URL generation.
Moreover in one of the book,its written "When you use the action attribute instead of the page attribute in
<html:link>, you need not specify the “.do” explicitly.".
P.S:If in the URL bar,if I add the ".do" explicitly,it works fine!!THe regn.jsp is displayed.
So now how to resolve this problem?How will I add the suffix do in the generated URL after clicking the hyperlink??