Struts1.3 之流程框架概述3



 

<html:errors property=”firstName”/>

Output the errors associated with this form with html:errors tag. ActionForms have a validate method that can return ActionErrors.

 

   <bean:message key="userRegistration.firstName" />

       When you want to output labels in the JSP from the resource bundle. Bean: message tag looks up the value in the resource bundle with the key here.

 

<html:text property="firstName" />

Associate the ActionForm’s properties to the HTML form’s fields.

 

<bean:write name="user" property="firstName" />

Actions delegate to JSP to display objects from the model

 

6. Action类如何与ActionForm类以及input JSP连接起来

  通过 struts-config.xml配置文件



 

 

 

你可能感兴趣的:(html,jsp,bean,框架,struts)