How to search for a particular string in a text file using java?

How to write form(HTML Form) data into a Text file using Java-Servlet?

  • I need to code a Java-Servlet that accept data from a HTML form and write them into a CSV (Comma Separated Value) text file for later import into a database. And also I need to import these text file values in to a spreadsheet package and making sure that each value appears in a different cell.(I use Tomcat v5.5) Although I tried hard to solve this problem, I failed all the time. And also I couldn't find any satisfied answer on the Internet.So I would be much obliged If you could provide me a sample solution or an information source for the above situation. Thanks in Advanced

  • Answer:

    use html tags

Gimhani at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.