How to communicate with a server from javascript
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Allan_Ravn
Posted On:   Tuesday, June 4, 2002 02:20 AM

We need to communicate with a server/servlet through javascript to interactively populate search dialogs ... is this possible? How?

A nonvisual applet of course would do the job, but we cannot expect people to download a jre for filling out a form.

Thankyou for your help

Re: How to communicate with a server from javascript

Posted By:   Firat_Tiryaki  
Posted On:   Wednesday, June 5, 2002 01:43 AM

Use XML (only IE support)



or dynamically create javascript arrays with your data.

Re: How to communicate with a server from javascript

Posted By:   Luigi_Viggiano  
Posted On:   Tuesday, June 4, 2002 02:30 AM

It is not possible for Javascript to invoke object on the server. As you said JavaScript may iteract with Applet and/or servlet to invoke processes and extract results. Most of browsers support JVM 1.1.5 (IE and NTSCP) so you can make an applet using this version of JDK. I'm not sure but I think that JavaScript can iteract directly with servlets. I've followed an interresting presentation about a technology developed by Macromedia to let Flash to be a rich web client for EJBs deployed on JRun, or web services. I think it would be cool, but I dont like so much to learn ActionScript etc.etc...
About | Sitemap | Contact