what is in struts <global-forwards>?
Hi guys,
I am now recoding my web app with struts framwork because i cant solve the problem of recursive loop at front controller. Anyway here is my question about struts:
In my struts-config.xml i have the following line:
<global-forwards>
<forward name="main" path="/index.jsp"/>
<forward name="fancialDisplay" path="/display.jsp">
</global-forwards>
<action-mappings>
<!-- <action path="/Welcome" forward="/welcomeStruts.jsp"/> -->
<action path="/financial" type="com.core.servlet.Financial" />
<action path="/financialProcess" forward="com.core.servlet.FinancialProcessor" />
</action-mappings>
Logically, the display.jsp can be only used to display the output of financial servlet's methods. However, acording to this config, user can request the display.jsp page without going through the financial servlet. Is there anyway to enforce the application flow in this config file?
Hope to get some help
Thai
Message was edited by:
lnthai2002

