Subj : return values with embedded rhino To : netscape.public.mozilla.jseng From : p3sullivan@earthlink.net (Patrick) Date : Fri Jul 25 2003 03:17 pm with this "meme = youyou.getMsg();" I get: undefined with this "meme = youyou;" I get: adapter0@379 How do I get the String? ############################## function testRhino() { /* patrick testing */ var meme = ""; var youyou = ""; youyou = new JavaAdapter(java.ServerMsgs); meme = youyou.getMsg(); if (meme == "") { meme = "Did not work bob"; } return meme; } ############################## public class ServerMsgs{ public String getMsg() { return "got Message"; } } Thank you, Patrick Sullivan .