Yesterday, I posted the struts-blank directory structure.
Now let me explain the flow that this struts-blank handles.
index.jsp
<logic:redirect forward="welcome"/>
WEB-INF/struts-config.xml
global forward:
<forward
name="welcome"
path="/Welcome.do"/>
action mapping:
<action
path="/Welcome"
forward="/pages/Welcome.jsp"/>
pages/Welcome.jsp
<bean:message key="welcome.message"/>
WEB-INF/struts-config.xml
<message-resources parameter="MessageResources" / >
WEB-INF/src/java/MessageResources.properties
welcome.message=To get started on your own ...
1 comment:
very good blog...
1 suggestion...plz divide the topics
Post a Comment