Wrox Programmer Forums
BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4
This is the forum to discuss the Wrox book ASP.NET AJAX Programmer's Reference: with ASP.NET 2.0 or ASP.NET 3.5 by Dr. Shahram Khosravi ; ISBN: 978-0-470-10998-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 7th, 2008, 07:31 AM
Registered User
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling java Servlet from ascx page


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"});

Here "autocomplete.view" which is servlet which is feeding the page with the xml data. Thansk.

Pradeep Nair


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in calling classes in simple Servlet sanna231 J2EE 6 December 23rd, 2012 01:06 AM
calling a java servlet from a asp.net page dub_beat ASP.NET 2.0 Basics 0 April 2nd, 2007 08:31 PM
calling a servlet by clicking a menu? pandian Servlets 1 February 4th, 2006 10:28 AM
Calling a command from a servlet emirant1 Servlets 1 December 23rd, 2005 11:33 AM
calling java servlet from javascript bearfacts Javascript How-To 1 August 26th, 2004 04:57 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.