Using Struts 2 Autocompleter With Example

Struts » on Oct 29, 2011 { 6 Comments } By Sivateja

Let us see how to work with struts 2 autocompleter tag with example.  This autocompleter tag will works asynchronously, and dont forget to add <s:head theme=”ajax” /> in the header part of the webpage [ check in success.jsp ].

jars required

  • commons-logging-1.0.4.jar
  • freemarker-2.3.8.jar
  • ognl-2.6.11.jar
  • struts2-core-2.0.11.jar
  • xwork-2.0.4.jar


files required

  • index.jsp
  • success.jsp
  • web.xml
  • struts.xml

Directory Structure






You Might Also Like

  ::. About the Author .::

- Full Stack Java/J2EE & UI Web Developer
Founder of Java4s - Get It Yourself, A popular Java/J2EE Programming Blog, Love Java and UI frameworks.
You can sign-up for the Email Newsletter for your daily dose of Java tutorials.


6 Responses to “Using Struts 2 Autocompleter With Example”
  1. Maura Dobberstein says:

    I enjoy the efforts you have put in this, appreciate it for all the great posts.

  2. tanmaya says:

    while running it is showing that
    No tag “autocompleter” defined in tag library imported with prefix “s”

  3. Dharm says:

    while running it is showing that
    No tag “autocompleter” defined in tag library imported with prefix “s”

    what is the solution of this…?

  4. Bhagwati lal Patidar says:

    I want to Dynamically add, remove rows on table and insert all rows values into Mysql database using Struts-2, so please help how to do this task

  5. Neha says:

    How to read the the selected data into another text box. Please help me regarding this.
    Thanks in advance.

  6. munish says:

    how to fill form onclick text other text field auto fill as per first??


By posting your answer, you agree to our comments policy.
Most Recent Posts from Top Categories
Hibernate Spring Struts
Contact | About Us | Privacy Policy | Advertise With Us

© 2010 - 2018 Java4s - Get It Yourself.
The content is copyrighted to Sivateja Kandula and may not be reproduced on other websites.