: [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
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
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
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
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
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
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
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
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
>
>
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.
>
--- 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
11 matches
Mail list logo