how to create a search field in struts.with code
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is strut action mapping?
how you implement and maintain your struts project by using MVC2 arch?
What is the naming convention for a resource bundle file in struts2?
What is struts xml?
What is the purpose of @stringlengthfieldvalidator annotation?
how canu done chechin and check out of u r project using with sample examples?
Can you explain custom tag?
How do you customize ActionServlet?
What do you know about validation plugin ?
What is difference between lookupdispatchaction and dispatchaction?
What is apache struts cve 2017 5638?
diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
8 Answers Athena Health Care, Symphony, TCS,