This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes autocomplete in struts 1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "autocomplete in struts 1.3" Watch "autocomplete in struts 1.3" New topic
Author

autocomplete in struts 1.3

Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 108
Hi,

How to achieve autocomplete of a textbox in struts1.3. I found using jquery autocomplete,jsp, java class in google. But I want this to be converted in to struts 1.3.
If I pass .do path in autocomplete its not calling.

Is there any other way to achieve this.

Thanks.

--raaja. g
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Hi,

I guess struts 1.x will not provide any build in support for autocomplete functionality, if you want to implement it in application then you can do it by javascript & struts 1.x action classes.
Like from javascript you can give ajax call to action class it will return you a result that you can show in text box.


Thanks,
Shailesh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: autocomplete in struts 1.3
 
Similar Threads
I think execute method is not executed...(confused)
form/input tags and turning off autocomplete
turn autocomplete off in Struts?
struts tutorial
How to add JSP/Struts tags help(autocomplete) support to Eclipse?