how to create a search field in struts.with code
Answer Posted / shally
<html:submit property="searchField" name="SearchFormBean"
onclick="javascropt:search()"
where searchField is the name fo the field as defined in
SearchFormBean.java
Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
What is the purpose of @emailvalidator annotation?
What is the purpose of @element?
What is difference between interceptors and filters?
Describe the two types of formbeans.
What are the benefits of Interceptors in Struts2?
What is the use of Struts.xml configuration file?
What are the classes used as part of struts framework ?
What are action errors and error?
What is the purpose of struts.properties in struct2?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
What is struts2 namespace?
What is the default suffix for struts2 action uri ?
What are the struts2 error message keys that can come during file uploading process?
What's the purpose of execute method of action class?
What design patterns are used in struts?