Sorry for my ignorance, but I could not understand the question. What do you mean by passing a value from an applet to the HTML page containing it?? Can you be more specific? What value you want to pass, to what object? Do you want the HTML page to change- how, what, when??
Hi! Maateen sorry i did not get what you what to tell. how can we pass a value to a servlet through response object. i believe we can pass a value only through request only. and even then how can we pass it to the html which is running that applet which is calling the servlet. pls explain
Hi mateen If we send a response using response object, it will send a new HTML page [B] to the browser. But the Revati's original question is - how to pass values from the applet, to HTML page [B] containing the applet. I could not understand
Originally posted by maateen ashraf: hi Ramneek Handa u will use request object to send values to servlet & use response object to pass it to browser
hi, i'm not sure how to pass the value from the applet to the web-page but don't u think if u're able to pass a value to the HTML page u're actually making a dynamic page from an applet ,and i suppose a servlet is supposed to do this,generate a dynamic page
Hi, Try this: AppletContext ac = getAppletContext(); ac.showDoucumet(new URL("your htmlpage with this applet"?partameters, "_SAME")); Check the second parameter in the URL constructor for correctness OK
You have to be odd to be #1 - Seuss. An odd little ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth