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 JSP and the fly likes Autocomplete using JSP custom Tag 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 » Java » JSP
Bookmark "Autocomplete using JSP custom Tag" Watch "Autocomplete using JSP custom Tag" New topic
Author

Autocomplete using JSP custom Tag

udhaya kumarG
Greenhorn

Joined: Jul 23, 2011
Posts: 15

Hi,


can we create a autocomplete component using JSP custom Tag?

thanks in advance,

Regards,
Udhay
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Yes. If this was my problem I'd search the web first, though, as I'm certain there are ready-to-use components out there.
udhaya kumarG
Greenhorn

Joined: Jul 23, 2011
Posts: 15

Tim Moores wrote:Yes. If this was my problem I'd search the web first, though, as I'm certain there are ready-to-use components out there.


thanks Tim for your reply...

yes, there are many other ways there and components as well, but i want to get some clue by doing with JSP Custom Tags, working on it and i have seen most of the web pages but no worth while. if you know any other way let me know.

i have created a custom component and Tag handler through which i need to get the value from the text box what ever typed in that Text box...

if you have any examples let me know..
Raghu Arikeri
Greenhorn

Joined: Jan 09, 2006
Posts: 15
udhaya kumarG wrote:i have created a custom component and Tag handler through which i need to get the value from the text box what ever typed in that Text box...


Not sure why you are looking to specifically use JSP. May be you can consider using jQuery? you can avoid the effort for custom code.


Raghu
"Work for a cause and not applause. Live to express and not to impress"
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
I think it's kind of a given that the custom tag will generate code that uses a JavaScript library like jQuery or Prototype.
udhaya kumarG
Greenhorn

Joined: Jul 23, 2011
Posts: 15

Raghu Arikeri wrote:
udhaya kumarG wrote:i have created a custom component and Tag handler through which i need to get the value from the text box what ever typed in that Text box...


Not sure why you are looking to specifically use JSP. May be you can consider using jQuery? you can avoid the effort for custom code.



yeah.. thanks Raghu we can avoid the custom code using JQuery...

i have done it through JQuery but some of the Java code comes inside the JSP page that i dont want so that i am looking for Custom tag or some other approach.

is that possible using JSP Custom tag instead of using AJAX or JQuery?
udhaya kumarG
Greenhorn

Joined: Jul 23, 2011
Posts: 15

Tim Moores wrote:I think it's kind of a given that the custom tag will generate code that uses a JavaScript library like jQuery or Prototype.



Thanks Tim, i Will try it out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Autocomplete using JSP custom Tag
 
Similar Threads
disable autocomplete
Error with JSTL tags in eclipse
String buffer issue when dispalying a new line
form/input tags and turning off autocomplete
Instances of Tag Handler