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

Answers were Sorted based on User's Feedback



how to create a search field in struts.with code ..

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

how to create a search field in struts.with code ..

Answer / qwer

plaease give tha answer

Is This Answer Correct ?    6 Yes 2 No

how to create a search field in struts.with code ..

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

Post New Answer

More Struts Interview Questions

How duplicate form submission can be controlled in struts?

0 Answers  


explain the struts-configuration file?

3 Answers   TCS, Zoho,


Can we integrate struts with spring?

0 Answers  


What is the purpose of @before?

0 Answers  


Wat is Difference between Mvc1 architecture and Mvc2 Architecture?

21 Answers   HCL, IBM, Sanyaa Infotech,


Which class of struts is responsible to converts data types from string and vice versa?

0 Answers  


What is the use of namespace in action mapping in Struts2?

0 Answers  


How to upload struts file?

0 Answers  


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

0 Answers  


What is the purpose of form-beans tag in struct-config.xml?

0 Answers  


How many servlet controllers are used in a Struts Application?

0 Answers  


How can we handle exceptions thrown by application in Struts2?

0 Answers  


Categories