> What does *do* mean in *.do files.
It's a just a suffix that you tell the container to look for in your web.xml
file, with this language:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
Elsewhere in web.xml you've defined the "action" servlet to be the Struts
ActionServlet, which will retrieve all data, whether sent by "post" or
"get", construct the proper bean and call the proper Action class, all as
defined in struts-config.xml.
You could use any suffix, as long as you put it in the <servlet-mapping>
block in web.xml. I suppose "do" was chosen because these things are
supposed to "do" something.
--
Tim Slattery
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]