Move data from JSP to HTML

I have a some data that has been calculated in jsp file that is in a table. I want to transfer (programmatically) these contents of the JSP into an HTML file. I want a use to open the html and find the staff that had been calculated in jsp
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dont get quite right ur question
VbMonkAuthor Commented:
write all contents of jsp into an HTML page
And why do you want to do it?
HTML pages have static content. You can use JS to read and display some data that had been sent to such page (as the request parameters), but that's all. Use JSP if you wish to have dynamic content.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

PS. I'm not quite sure, but you probably would be able to generate new HTML page (that is: create new file on the server with .html extension) from the JSP scriptlet. Still, I don't have idea why anyone would like to do something like this. 8-|
File file = new File("newfilename.html");
PrintWriter myout = new PrintWriter(new BufferedWriter(new FileWriter(file)));

/* ur jsp code...........      

This question makes no sense. An JSP IS HTML as far as the browser is concerned. That is the beauty of it. I sense a troll from an MS drone!

If you wanted to create a "physical" copy of the html output of the jsp then aaaaaa's method is your man, or if you really want to do what you asked, pass the parameters in the url and have fun parsing them with JavaScript.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.