Retrieving Xml data from jsps

Cast
07-07-2004, 12:14 AM
Hi...

I want to create a scritp capable to read or request some xml data. I dont know any function capable to do this ... Does anybody know anyone?

For example, I want to instanse a JSP, calling it with an URL "http://localhost:8080/mijsp.jsp" And I want to receive the response of the JSP...

Im not sure getURL and postURL can help me. If the do, Can anybody show me how to use them?

Really thanks folks ...

Anonymous
07-07-2004, 10:12 AM
If you want not to refresh your svg but only use data, you can
- call jsp
- jsp create temporary file with data
- you retrieve data with getURL

You can use setTimeout to call getURL to create delay and be sure that your temporary file is created.

Michel

Cast
07-07-2004, 01:49 PM
Thanks Michael ... the thing is that I dont know how to do that, I use getURL like this:

getURL("http://localhost:8080/monitor/prueba.jsp", my_callback)

Calling the JSP "prueba.jsp" and nothing happends. I think getURL doesnt call the JSP.

Could you help me with an example?

I'll really apreciate man ...

By the way, I have another question, Im using the setTimeout function an it fails when I show a popup, I have other objects that show some popups, I use mose events. I mean, a function is being calling with the setTimeout function and when another object shows its popup, when the setTimeout fires the another function, an error occurs. The error is:

TypeError: object is not a function

 
Web mp2kmag.com
mapforums.com

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum