If you submit an html form using the URL patter that you set up for your struts servlet (probably to handle everything ending in .do) then the servlet will handle it and I think it will always try to find the action in the config file. But if you use a different URL pattern the servlet won't try to process it.
No, you're just assuming the "optional" part works both ways: one can define an action form without associating it to an action mapping. One cannot, however, define an action mapping without a form. See the difference?
Joined: Nov 19, 2002
Beside optionally associating with an ActionMapping, what are the other scenarios in which ActionForm is used for, in Struts?