AM
Subject: Re: How to generate unique filename each time run the jsp
Well one possible thing to do could be the following :
private static int x = 0;
public synchronized static int getId(){
return ++x;
}
And add the int value returned by the getId() method with the name
);
Lee
From: Tiana Zhang [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: How to generate unique filename each time run the jsp
Date: Fri, 12 May 2000 13:29:05 -0500
Hello, I need suggestion for the fol
. Khanna.
www.emailanorder.com
- Original Message -
From: Tiana Zhang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 12, 2000 11:59 PM
Subject: How to generate unique filename each time run the jsp
Hello, I need suggestion for the following task:
I have a jsp(jsp1) page which
Hello, I need suggestion for the following task:
I have a jsp(jsp1) page which is gonna to invoke some other program, the result
is that jsp1 is gonna to create an Html file. This file will be loaded by
another jsp(jsp2) file. My problem is how can I make the name of this html file
unique (i can
Use the value of the session id as a filename. One question that comes to mind,
though, is if there are any jsp engines that use characters in the session id that
are illegal in a filename...
Tiana Zhang wrote:
Hello, I need suggestion for the following task:
I have a jsp(jsp1) page which
-Original Message-
From: Tiana Zhang [SMTP:[EMAIL PROTECTED]]
Sent: Friday, May 12, 2000 2:29 PM
To: [EMAIL PROTECTED]
Subject: How to generate unique filename each time run the jsp
Hello, I need suggestion for the following task:
I have a jsp(jsp1) page which is gonna
specification and
reference
Sent: Friday, May 12, 2000 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: How to generate unique filename each time run the jsp
Hi Tiana,
Just an idea, but try putting a numerical timestamp (long) in the filename
(including milliseconds) and append
A mailing list about Java Server Pages specification and
reference
Sent: Friday, May 12, 2000 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: How to generate unique filename each time run the jsp
Hi Tiana,
Just an idea, but try putting a numerical timestamp (long) in th