Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is the use of <bean:parameter/> tag defined by Bean tag library in Struts framework?
The <bean:parameter/> tag is used to retrieve the value of a request paremeter identified by the name attribute. The retrieved value will be used to define a page scoped attribute to type java.lang.String or String[], if the multiple attribute is not null. The <bean:parameter/> tag has no body and supports four attributes:
id, name, multiple, value.

Example:
<bean:parameter id="userID"
   name="username"
   value="user found" />