6.0 应用程序接口 6.1 属性 标签 组件 属性 类型 规则 域Domain Username User username String !null unique Password User password String !null Full Name User fullname String !null From Address User fromAddress String !null *@* Reply To Address User replyToAddress String - User subscriptions Hashtable Mail Server Subscription host String !null unique Mail Username Subscription username String !null Mail Password Subscription password String !null Mail Server Type Subscription type String "imap","pop3" Password (repeat) registrationForm password2 String !null
<!-- PRocess a user logon 处理用户登陆--> <action path="/logon" type="org.apache.struts.example.LogonAction" name="logonForm" scope="request" input="/logon.jsp"> </action>
<!-- Save mail subscription 保存邮件帐号描述--> <forward name="success" path="/editRegistration.do?action=Edit"/> </action>
<!-- Process a user logoff 处理用户退出--> <action path="/logoff" type="org.apache.struts.example.LogoffAction"> <forward name="success" path="/index.jsp"/> </action>