how should we create a simple text file in a web application.
i used
File file = new File("reports/one.txt");
to create a text file under the reports folder .This "reports" folder is along with the web-inf folder.
when i executed the servlet which had this code,its creating the file some where out side the application. i want that to create under the "reports" folder. how to achieve this. please help me.
2006-09-11
22:19:09
·
3 answers
·
asked by
kanna
3
in
Computers & Internet
➔ Programming & Design
hai joe young.
thanks for the link. i searched but i did not get it
2006-09-11
22:41:05 ·
update #1