By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,480 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,480 IT Pros & Developers. It's quick & easy.

Writing html to a file using java?

P: 19
I have a JSP that while being used holds the current state of an audit. What I want is to be able to grab the current state of this html and write it to a file so that the progress being made to the audit is saved for future progress. How can this be done using Java?
Feb 15 '12 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 10K+
P: 12,430
That depends, are you talking about java or javascript? Client or server?
Feb 15 '12 #2

P: 19
I was talking about storing it in a text file on the host. however, I have decided to go a new route and am attempting to store it in a database. I have another question with an issue i am having in this area though:
Feb 21 '12 #3

P: 1
Hi dude,
For your stuff you need to work in javascript..
1) collect data from your html
2a) create dynamic form, store data to it and trigger submitevent of it form then at server side get data and write to your text file.
2b) make ajax call then at server side get data and write to your text file

choose your way.

Feb 22 '12 #4

Post your reply

Sign in to post your reply or Sign up for a free account.