How can I get the window object of a web-page in java.My question is that “Is there any method to get the window object of a web-page in java ? “.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Java is to JavaScript as Ham is to Hamster
Java on the backend has no way of getting reference to the window object. It is like having a hard copper phone line between the Earth and Mars. I am not sure why you would need it there anyway.
If you are talking about applets, you have the JSObject which can access the DOM.