I have started to learn Struts2.0,
First Simple Program itself confusion..My Qeustion is in Struts.xml maping file we are not adding .action but request input
jsp why we should add .action apart from ActionName
Example : action="HelloWorld.action"
input.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>HelloWorld
Struts </title>
</head>
<body>
hello world
<form name="Form1" action="HelloWorld.action">
<input type="submit" value="JustClick" name="JustClick" />
</form>
</body>
</html>
Struts.xml : Here action name is "HelloWorld",
----------
<struts>
<package name="default" extends="struts-default">
<action name="HelloWorld" class="comm.HelloWorld">
<result name="success">HelloWorld.jsp</result>
</action>
</package>
</struts>
Is it must to keep .action in all the request page (action="actionName.action)
------