We are creating a enrollment form and I need to capture this information and write to flat file when a user click on the submit button. Any efficient ideas on how to accomplish this.
Let me be little more clear. I do know the classes to use for writing to a flat file.
I am looking for help more on the how to deploy the class on web server. We are using apache web server. I am not sure where to deploy the class file and how to send the data to this file from the form. The requirement is to write the data to a flat file on submission from the html form.
Assuming you want a Java solution, you would use servlet technology to accomplish this. To run servlets you need a servlet engine like Tomcat, which can also double as a web server, or work together with Apache.
It's not possible to explain a huge subject like servlets in a message like this. You should get a book on servlets/JSPs and start working through that, and download and install Tomcat, and try to understand it and its examples.
Originally posted by Wrick Sharma: Could you please give me more details on how to accomplish this. Thanks a lot.
That's a bit like writing, "I'be been instructed to build an ark, 300 cubits long, and gather two of every animal that walketh on the Earth. Any advice in shipbuilding and zoology is greatly appreciated."