how to create a search field in struts.with code
Answer Posted / shally
<html:submit property="searchField" name="SearchFormBean"
onclick="javascript:search()"/>
search() {
document.getElementById('searchField').value='Search';
}
Then in action class...do the search logic after
checking "Search" action .
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What are action errors and error?
Give the details of xml files used in validator framework?
How you will make available any message resources definitions file to the struts framework environment?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
What is role of action class?
How long do struts last?
In which order struts framework searches for a message bundle?
What do you mean by a custom tag?
What applications use apache struts?
What is the purpose of @results?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
What is the use of reset method of ActionForm class?
How do u provide security to ur project?(Banking domain project)
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
How nested beans can be used in Struts applications?