Rob Prime wrote:It might help if you told us exactly what methods / classes are deprecated. If you use -Xlint:deprecation to the compiler flags the compiler will tell you.
Eric Pascarello wrote:Why are you converting it to a textfile?
I would request the page that you are grabbing the contents for and output back the response to the client. No need to store it in a txt file unless you play on using that at some later time and do not want to fetch it again.
Eric Pascarello wrote:"content was too big" What is too big?
Have you gone through basic Ajax tutorials on how to send post data to the server and dispay a result on the page? If you have not, it might be a good time to try it and not jump right into a big task.
Paul Clapham wrote:First step would be to determine the requirements.
It doesn't make sense to say you want to "get the HTML into text", because HTML is already text. And there's this "hidden markup"... what is that?
And when your client is viewing a web page, what are they using to do that? A browser connected to the web page? A text editor looking at the source code... the HTML?
And are these web pages just anything they can get to on the web, or just the web pages served by your site?
Bear Bibeault wrote:
Dean Oo wrote:but am having a hard time passing the information via AJAX since a web page is pretty large and the querystring can only have so much information.
Then don't pass it in the query string.
Bear Bibeault wrote:"Dean Ooooh", firstly, please check your private messages for an important administrative matter.
Secondly, please read this for information on replying to older posts. This post is almost three years old.
Harathi Rao wrote:Thanks to Ben and Lynette for the help I have resolved it. What I needed was a class which implemented HttpServletResponseWrapper.