You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Philip Tong <ph...@yahoo.com.hk> on 2001/12/28 18:03:01 UTC

Configuration struts-config.xml

Dear all,

When i study the the struts example and DTD, a set-property element has been
found in action element. likes as follows:

 <action  path="/logon"
       type="jspbook.example.authcontrol.LogonAction"
       name="logonForm"
      scope="request"
      input="/logon.jsp"
    className="jspbook.example.authcontrol.SecSensitiveMapping"    
     validate="true">
   <forward name="success" path="/menu.jsp"/>
   <set-property name="secExtraInfo" value="public level"/>
   <set-property name="authContext" value="articleDB"/>
 </action>


What is the propose of set-property? I can't get the information in
actionmapping and can't get more information in javadoc in apache.org. How can
i get the set-property information ? Moreover, what is the different between
type and className attribute?

Thx. 

Philip Tong




_________________________________________________________
Do you Yahoo!?
行萬里路 http://travel.yahoo.com.hk
Comprehensive travel guide at http://travel.yahoo.com.hk

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>