Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are action errors and error?

1009


Give the details of xml files used in validator framework?

966


How you will make available any message resources definitions file to the struts framework environment?

935


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

995


What is role of action class?

1000


How long do struts last?

890


In which order struts framework searches for a message bundle?

903


What do you mean by a custom tag?

899


What applications use apache struts?

899


What is the purpose of @results?

968


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1017


What is the use of reset method of ActionForm class?

1001


How do u provide security to ur project?(Banking domain project)

4846


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

868


How nested beans can be used in Struts applications?

963