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 is ognl?
What is the struts in java?
What is the use of struts config xml file?
What is the purpose of @requiredstringvalidator?
What is action class?
What is apache struts cve 2017 5638?
What is the purpose of @validations annotation?
Can you explain value stack?
How an actionform bean is created?
Which tag is used to declare constants in struts xml?
How can we write our own interceptor and map it for action?
How properties of a form are validated in Struts?
How struts2 supports internationalization?
What are the steps required for setting up validator framework in struts?
Which technologies can be used at view layer in struts?