Hi,
i m getting a web page content in a string by using java.net.URL and Input Streams.
the problem i m having that my javascript is not rendering and i m getting the as it is response.
<html>
<head></head>
<body>
<script>
document.write("<h1>hello world!</h1>");
</script>
</body>
</html>
suppose this is the code written in HTML file .. now i want when i get the webpage content in string .. the javascript should b rendered..
<html>
<head></head>
<body>
<h1>Hello World!</h1>
</body>
</html>
like this .. how i can do that ????