David Newton wrote:I'm not really sure what you're asking.
Have you looked at the source code? It's the easiest and quickest way to understand how it works.
krishna bala wrote:in scope object it will store the form object, with key/value pair
Sagar Rohankar wrote:.do is struts default extension which maps with the ActionServlets,
Source:
http://struts.apache.org/1.3.10/faqs/works.html
Note the extension .do in this URL. The extension causes your container (i.e. Tomcat) to call the ActionServlet, which sees the word "login" as the thing you want to do. The configuration is referenced, and your LoginAction is executed.
now you can't remove this .do but using some tricks (eg url rewrite) you can move around with .do extension.
Here is the master link for that:
http://www.lunatech-research.com/archives/2005/07/29/struts-urls
[Note: This things are suggested for the Struts perfectionist, so if you're thinking it for practice no problem]