Re: How to generate unique filename each time run the jsp

2000-05-17 Thread Sudhir A.
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

Re: How to generate unique filename each time run the jsp

2000-05-16 Thread Lee Collins
); 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

Re: How to generate unique filename each time run the jsp

2000-05-13 Thread Sachin S. Khanna
. 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

How to generate unique filename each time run the jsp

2000-05-12 Thread Tiana Zhang
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

Re: How to generate unique filename each time run the jsp

2000-05-12 Thread Donald Vandenbeld
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

Re: How to generate unique filename each time run the jsp

2000-05-12 Thread Holmes III, William S
-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

Re: How to generate unique filename each time run the jsp

2000-05-12 Thread Norris, Michael
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

Re: How to generate unique filename each time run the jsp

2000-05-12 Thread Reed, Eric
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