Calling java Servlet from ascx page
Hi,
I want to implement this Autocomplete feature on a text box. This autocomplete i have to implement on a Sharepoint site using the webpart(usercontrol). The existing Autocomplete is on java portal which is user a servlet to get the backend dsml(xml)file using the java servlet. I want to use this servlet to feed by AJAX component. Can somebody help we with this approach. The code snippet is as follow :-
<script type="text/javascript">
new AjaxJspTag.Autocomplete("/portal/autocomplete.view",
{indicator: "indicator",
minimumCharacters: "3",
parameters: "service=autocomplete,searchParameter=searchtextOn Page,searchType={autosearchtype}",
postFunction: redirectQuickSearchURL,
parser: new ResponseXmlToHtmlTableParser(),
target: "quickSearchValue",
className: "autocomplete",
source: "searchtextOnPage"});
</script>
Here "autocomplete.view" which is servlet which is feeding the page with the xml data. Thansk.
Pradeep Nair
paddy
|