I am studying the code in Artimus_1_1 to make sure
that I understand how things actually work.  I am lost
at the beginning of the application.  Please kindly
help me.  The index.jsp of the application contains
two lines:

code:
------------------------------------------------------

<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<logic:redirect forward="welcome"/>

-------------------------------------------------------

Does this redirect forward tells the browser to submit
a new request to the path with logical name "welcome"?

I then searched the config.xml file, 


code:
-------------------------------------------------------

<global-forwards>
    <!-- default forwards -->
     <forward
        name="baseStyle"             
        path="/article/assets/styles/base.css"/>
    <!-- MENU forwards -->
     <forward
        name="welcome"
        path="/do/Menu"/>
     <forward
        name="cancel"
        path="/do/Menu"
        redirect="true"/>
     <forward
        name="done"
        path="/do/Menu"/>
     .......
</global-forwards>

-------------------------------------------------------

The path of the logical name "welcome" is "do/Menu"
(note it is upper case Menu).  The other place that
"do/Menu" appears in the config.xml is:

    <action
        path="/MenuCreate"
        name="menuForm"
       
type="org.apache.struts.scaffold.ProcessAction"
       
parameter="org.apache.artimus.article.MenuCreate">
       <forward
            name="success"
            path="/do/Menu"/>
        <forward
            name="failure"
            path=".article.Menu"/>
    </action>

There is no Menu ActionServlet in the application.

There is a menu.jsp (note it is lower case menu) file
in the application. Does this application display
menu.jsp when it is first launched? Apparently, it
does. This menu.jsp is in the
artimus_1_1/WEB-INF/src/pages/article/content folder.
I am confused - does /do/Menu locate the menu.jsp 

1. in the /src/pages/article/content folder?
2. regardless upper or lower cases? 



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to