Halgurt,
 
Not sure if this will help or not but you can always create a File 
object in your servlet with the filename you want and check for its 
existence with something like:
 
if ( filename.exists( ) ) {...}
 
HTH!
 
Bob Hitchins
 
-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 8:25 AM
To: [EMAIL PROTECTED]
Subject: File existence


Hi,
 
I have an application and I need to check whether a file exists or not, 
I am getting a request-parameter value and I want to create a file with 
this value as a file name, but first I want to check if this file 
already exists or not, can anybody help me? Is there any possibility to 
check that in a style sheet?
 
Best thank,
 Halgurt
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to