how to create a search field in struts.with code

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

593


What are apache struts?

519


Can explain about the validations and in your project where did u used the validations?

6431


Are struts still used?

522


What is the role of a handler in mvc based applications?

759






When should be opt for struts framework?

586


What is the purpose of @keyproperty annotation annotation?

590


How does struts2 token work?

533


What is dispatchaction?

641


How is the mvc design pattern used in struts framework?

522


What are action classes in struts?

526


Do you need an alignment after replacing struts?

530


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2540


What is the configuration files used in struts?

537


What are the core classes of struts?

583