Forums Register Login

Writing to flat file

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Could you please give me more details on how to accomplish this. Thanks a lot.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
 

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."
+Pie Number of slices to send: Send
Got it. I got the book head first sevlets/jsp and going through it. Did'nt know its that complicated.

Appreciate your suggestions guys.
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1594 times.
Similar Threads
JSF validation components !!
how to generate GUI from an xml-DTD
Creating form fields on button click
Struts - Capturing Browser Refresh
dynamically adding forms when a button is clicked on page
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:12:54.