Hi all,
I have implemented a simple proxy
servlet. My requirement is whenever a call is made to the servlet , the servlet must make a http call to the particular site, make a request for the content and then display the same in the browser.
At present i am able to fetch the html content, but i am facing problem in retrieving the sources such as .js,.css files and also the alignment of the site is totally wrong.
The code that i use in the servlet is as follows:
Kindly help me in retrieving the entire content of the site and in displaying it. How can i retrieve the entire content for all the sites the user requests.
Regards,
A.Rajesh