tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milanez, Marcus" <Marcus.Mila...@diebold.com>
Subject RES: Runtime created files not accessible.Please help.
Date Thu, 24 Apr 2008 13:44:37 GMT
 
Could you please list the part of your code where you list the created
files? Where are they located, inside your webapp folder?

Yours,

Marcus Milanez

-----Mensagem original-----
De: Andreas [mailto:sardanapalos928@hotmail.com] 
Enviada em: quinta-feira, 24 de abril de 2008 10:39
Para: Tomcat Users List
Assunto: Re: Runtime created files not accessible.Please help.

Hello and many thnx for interest and help.

Yes, I do see the folders/files created by Java code during runtime with
file viewers, they seem all fine.

But tomcat won't open/see them, and even if i try to put the URL in my
browser I get HTTP Status 404.

The code is pretty much basic, Java.IO , FileReader/Writer and so on.

Tell me  please if i can be more specific or I should post something
more.

Thanx a lot,

Best Regards,

Andreas, Greece.

----- Original Message -----
From: "Milanez, Marcus" <Marcus.Milanez@diebold.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, April 24, 2008 4:28 PM
Subject: RES: Runtime created files not accessible.Please help.


Hi Andreas,

We do pretty much the same here and it is working fine. Could you please
post some parts of your code, so that we can see how you specify your
physical folders? Can you see the folders/files created using a file
viewer ?

Yours,

Marcus Milanez

-----Mensagem original-----
De: Andreas [mailto:sardanapalos928@hotmail.com]
Enviada em: quinta-feira, 24 de abril de 2008 10:22
Para: users@tomcat.apache.org
Assunto: Runtime created files not accessible.Please help.

Hello everyone!

I have developed a jsf(java server faces) web application running on
tomcat 6.0 .

Maybe my questions will be a bit naive, but i kindly ask for your help
since i am not able to find solution myself.

The problem is this:

My web server needs to create new folders and write files in the folders
so that the end user will b able to download later.
The files I download or I create though, and save in my new folders
created at runtime, are not available for tomcat...
I get HTTP Status 404 , and I am unable to open them at runtime back
from the local disk.

So, what should I do to make the newly created folders and files
instantly available in Tomcat without restarting???
And what is the proper place for someone to put his application folder??

Thank you very much for your help...


Andreas, Greece.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message