Hi,
i want to send some data into the file.for that the code is
<html>
<body>Action completed
<%@ page import ="java.io.*" %>
<%!
String str="neelima"; %>
<%
try
{
PrintWriter out=new PrintWriter(new FileOutputStream("\jspex.txt"));
out.println(str);
out.close();
}
catch(Exception e)
{
e.getMessage();
}
%>
</body>
</html>
jspex.txt file is inthe same path as this
jsp page.how i have to set the path for this text file.
anybody can help me to solve this.
Thanks in advance,
Neelima