Hello;

    I am new to Struts and I am trying to understand the mapping functionality when 
".do " URIs are referenced in struts-config.xml files.  For instance, in the 
struts-example the struts-config.xml has the following in the Global Forward 
Definitions:

<global-forwards>
    <forward name="logoff"       path="/logoff.do" />
    <forward name="logon"       path="/logon.jsp" />
    <forward name="success"   path="/mainMenu.jsp" />
</global-forwards>

I can understand the definition of "logon" and "success" because the paths point to 
real .jsp files but what is the "/logoff.do" file?  The same kind of ".do" URI appears 
in the Action Mapping Definitions :

<action  path:"/saveSubscription"
             ....
    <forward name="success"  path="/editRegistration.do?action=Edit" />
</action>

Is the ".do" a real physical address or is it a logical address relevant only to the 
struts servlet?

Thanks

Gary

Reply via email to