WebSphere Portal Server - invoking a servlet from javascript in a view jsp file on RAD 6.0

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2005 > invoking a servlet from javascript in a view jsp file on RAD 6.0





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author invoking a servlet from javascript in a view jsp file on RAD 6.0

2005-07-20, 2:49 am

Hello all,
I'm tryng to test AJAX (async -javascript) with basic portlet in RAD6.0.here is the javscrpt snippet in portlet view jsp file which calls the servlet asynchGet("ajaxnewprj.InvoiceServlet?invoice=" + select.value);
The view jsp file contains a select box which on change calls the script which in turns calls the servlet -kindly let me know what i'm doing wrong -the servlet is not at all called -kindly reply.
Here is the web.xml snippet showing the servlet mapping
servlet id="ajaxnewprj.InvoiceServlet"
servlet-name InvoiceServlet servlet-name
display-name InvoiceServlet display-name
description description
servlet-class
ajaxnewprj.InvoiceServlet servlet-class
servlet
servlet-mapping
servlet-name ajaxnewprj.AjaxNewPrjPortlet servlet-name
url-pattern ajaxnewprj.AjaxNewPrjPortlet/* url-pattern
servlet-mapping
Thank !!!!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com