Since the browser does the truncating upon the .value call, I was hoping I could just pass the entire dom object to the Applet, then read the value in the applet, which should contain the whole path. I've passed the object in by using ExtJS to dynamically set a parameter value to the dom object and use a getParameter() in the applet, but Im not really sure how to read it. The applet believes its an Object and when I do a println on it, it just outputs [object Object]. It should be a JSON object, I believe, but I dont have a good way of seeing whats in it on the applet side of things.
Joined: Mar 22, 2005
Doing a ".getClass().getName()" on it will tell you what kind of object it actually is.
.getClass().getName() told me that its a String, so why does calling a println on it give me [object Object]? Ive tried setting the passed in parameter as a String as well (so the applet believes its a string) and that printed out the same object message.