I personally prefer an XML approach using something like: ... res.setContentType("text/xml"); ... out.println("<Data>"); out.print("<Value1>"); out.print(_val1); out.print("</Value1>"); out.print("<Value2>"); out.print(_val2); out.print("</Value2>"); out.print("<Value3>"); out.print(_val3); out.print("</Value3>"); out.print("<Value4>"); out.print(_val4); out.print("</Value4>"); out.print("<Value5>"); out.print(_val5); out.print("</Value5>"); out.println("</Data>"); ... --- In svg-developers@yahoogroups.com, Peter Thompson <[EMAIL PROTECTED]> wrote: > 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 servlet was an int! > Now it works. > > By the way: in the servlet I do a 'select' on a database. Then I get > about 5 parameters which I want to pass to the callback-function in > the javascript. Do you know how to do this? > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > [Non-text portions of this message have been removed]
----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed] ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links [Non-text portions of this message have been removed] ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/