----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi, it's me again !
Probably this is not the right place to post this question, but I hope you can help me.
Using this code in my servlet:
PrintStream ps = new PrintStream(new FileOutputStream("/" + degl_e + ".csv")) ;
.
some process
.
out.println("<A HREF=/" + degl_e + ".csv>Descargar desglose</A>") ;
I get this error in jserv.log:
[13/06/2000 15:07:03:106 CDT] java.io.FileNotFoundException: /681340.csv (Permis
sion denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:98)
at java.io.FileOutputStream.<init>(FileOutputStream.java:58)
at det_des_csv.doGet(det_des_csv.java:16)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:475)
My question: is it possible to write something anywhere in Apache?
Thanks in advance
Sergio Rios
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]