I guess this may be a Java development question, but I cannot write to a file via a servlet run from JServ. I can on Tomcat w/JBuilder on my local HD...
Would someone please be kind and enlighten me?
/////////////////////////////////////////////////////////////
FileOutputStream fos = null;
PrintStream p = null;
try{
fos = new FileOutputStream("count.txt");
p = new PrintStream( fos );
p.println (" You are a freak! ");
p.close();
}catch(IOException e){e.printStackTrace(); System.out.println(e.toString());}
//////////////////////////////////////////////////////////////
thanks in advance,
..r