Hi there,
It looks like you're wanting to fetch data when the category is selected.
To do this, you can use the simple to implement
the excellent jQuery UI Autocomplete[
^] widget in your page. There's a great description there on it's use and implementation with several examples.
I was also able to find a JSP implementation
here[
^]. You should be able to use a similar approach to get that to work.
Hope this helps.
Cheers.