<s:form action="addProduct" theme="simple">
<package name="convertDemo" extends="struts-default" namespace="/locale">
<action name="convertLocal" class="locale.ConvertLocale">
<result>/convertCal.jsp</result>
</action>
<action name="addProduct" class="locale.ProductConfirm">
<result>/locale/showProduct.jsp</result>
<result name="input">/locale/AddProduct.jsp</result>
</action>
</package>
文件路径:
web/locale下。