|
|
| standard action |
Expert:sanjib Kumar Jena
Any one please tell me what is the function of standard actions tags and the deatils of its atrributes along with example. |
| Answers |
hi friend..
Action Allow you to specify components from a tag library or a standard tag. For Example : <prefix:action_name attribute="value">
Action may display an output or write some value to servlet without showing any output. Actually action is a tag name and tag has attributes with their values.
Some Standard action tags: <jsp:forward> :- The forward action passes the request to another page,page may be a html page or jsp page or a servlet. For Example: <jsp:forward page="response.jsp"/>
<jsp:getProperty> :- This tag returns a the value of a bean property. For Example : jsp:getProperty name="some_name" property="prop_name" />
<jsp:include> :- This tag is used to embed a file in a jsp page at the run time. For Example : <jsp:include page="jsp_Page.jsp" flush="true"/>
Some other standard action tags.... 1: <jsp:fallbck> 2: <jsp:param> 3: <jsp:params> 4: <jsp:usebean> 5: <jsp:setProperty> 6: <jsp:plugin> etc.
|
Read for more information.
http://www.roseindia.net/jsp/
Thanks
|
| More Questions |
|
|
Post Answers
Ask Question
Facing Programming Problem?
|
|
|
|
|