RE: [svg-developers] Re: getURL() problem

2005-05-04 Thread Rick Bullotta
: [svg-developers] Re: getURL() problem Hello, maybe I have a parsing error. I don't get any information out of the 'xmldoc'. Here is my servlet XML: out.println(""); out.print(""); out.print("u"); out.print(""); out.print(""); ou

[svg-developers] Re: getURL() problem

2005-05-04 Thread derguteonkeldod
Hello, maybe I have a parsing error. I don't get any information out of the 'xmldoc'. Here is my servlet XML: out.println(""); out.print(""); out.print("u"); out.print(""); out.print(""); out.print("h"); out.print(""); out.println(""); And that's the javascript ('urlRequestStatus.success' i

Re: [svg-developers] Re: getURL() problem

2005-05-04 Thread Peter Thompson
There are no attributes in that XML document. The following fragment returns the letter 'u' from the XML document: x=xmldoc.childNodes.item(0).childNodes.item(0).firstChild.nodeValue; __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

[svg-developers] Re: getURL() problem

2005-05-04 Thread derguteonkeldod
Maybe there is a parsing error. I don't get any information out of the 'xmldoc'. Here is my servlet XML: out.println(""); out.print(""); out.print("u"); out.print(""); out.print(""); out.print("h"); out.print(""); out.println(""); And that's the javascript ('urlRequestStatus.success' is true

RE: [svg-developers] Re: getURL() problem

2005-05-03 Thread Rick Bullotta
I personally prefer an XML approach using something like: ... res.setContentType("text/xml"); ... out.println(""); out.print(""); out.print(_val1); out.print(""); out.print(""); out.print(_val2); out.print(""); out.print(""); out.print(_val3); out.print(""); out.print(""); out.print(_val4); out.p

Re: [svg-developers] Re: getURL() problem

2005-05-03 Thread Peter Thompson
Set the content type, like you did, get an output stream, and then print. ServletOutputStream out = response.getOutputStream(); out.print("para1|para2|para3|para4"); out.flush(); // don't know if you really need this ... derguteonkeldod <[EMAIL PROTECTED]> wrote: Which Java method sends back th

[svg-developers] Re: getURL() problem

2005-05-03 Thread derguteonkeldod
Which Java method sends back the parameters? sendRedirect? Like: res.setContentType("text/plain"); res.sendRedirect("para1|para2|para3|para4"); ? --- In svg-developers@yahoogroups.com, Peter Thompson <[EMAIL PROTECTED]> wrote: > In the servlet, write the parameters to the response object in a f

Re: [svg-developers] Re: getURL() problem

2005-05-03 Thread Peter Thompson
In the servlet, write the parameters to the response object in a format you can parse (e.g., XML, comma-separated values, whatever) then parse the data you receive in the callback function. derguteonkeldod <[EMAIL PROTECTED]> wrote: Thank you so much, Rick. I'm a bit embarassed. The id in the se

[svg-developers] Re: getURL() problem

2005-05-03 Thread derguteonkeldod
n your servlet and see what value it is receiving. > > > > From: svg-developers@yahoogroups.com on behalf of derguteonkeldod > Sent: Tue 5/3/2005 5:30 AM > To: svg-developers@yahoogroups.com > Subject: [svg-developers] Re: getURL() problem > >

RE: [svg-developers] Re: getURL() problem

2005-05-03 Thread Rick Bullotta
svg-developers@yahoogroups.com on behalf of derguteonkeldod Sent: Tue 5/3/2005 5:30 AM To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: getURL() problem --- In svg-developers@yahoogroups.com, Holger Will <[EMAIL PROTECTED]> wrote: > derguteonkeldod wrote: > > > Hello. >

[svg-developers] Re: getURL() problem

2005-05-03 Thread derguteonkeldod
--- In svg-developers@yahoogroups.com, Holger Will <[EMAIL PROTECTED]> wrote: > derguteonkeldod wrote: > > > Hello. > > > > I've got this little function here: > > > > function getSeatInfos(evt) > > { > > seat = evt.getTarget(); > > seatid = seat.getAttribute("id"); > > getURL("http