How is the right way to write an .txt , inside a Servlet.
Here is my jsp
I know the .do extension is a old and easy way but for me is working, for the moment.
Now the important, the servlet.....
I create a filledata.txt in the C:\\, that txt is in white , no words no nothing. Now the idea, After the "SAVE" button inthe JSP , I want to save(write) my name (for example), my age, ......., in that txt. The question is ¿HOW? I know that my servlet is wrong. Can anyone help to fix it in the right way
Not following standard conventions makes code unreasonably hard to read. Start all of your variable names with a lowercase character. Using uppercase is confusing and fewer people will be able to read your code easily.