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 the purpose of @intrangefieldvalidator annotation?
What is the purpose of @conversion?
What helpers in the form of jsp pages are provided in struts framework?
How to handle exceptions in structs?
What is the purpose of @createifnull annotation annotation?
struts comes under which layer of three tire architecture in real time projects plz i need explaination?
10 Answers Infinite Computer Solutions, TCS,
How do I access token?
If the framework doesn’t do what I want, can I request that a feature be added?
What are the features of struts?
What is filter dispatcher in struts?
while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert
What are the major differences between html tags and strut specific html tags?