[ajug-members] Weblogic help
Jason Vinson
vinson.lists at charter.net
Fri May 18 05:55:35 EDT 2007
Why not just use:
java.io.File theTempFile = java.io.File.createTempFile("fancy", ".txt")
Thich would create a file referenced by "theTempFile" with the "fancy"
prefix and a ".txt" suffix.
Jason
-----Original Message-----
From: ajug-members-bounces at ajug.org [mailto:ajug-members-bounces at ajug.org]
On Behalf Of James Mitchell
Sent: Thursday, May 17, 2007 11:06 PM
To: General AJUG membership forum (100-200 messages/month)
Subject: Re: [ajug-members] Weblogic help
Sorry, maybe its java.io.tmpdir.
--
James Mitchell
On May 17, 2007, at 10:54 PM, Barnes, Mike wrote:
>
> No reason other than I did not know about it. I just tried it in a
> standalone test and get returned a null.
>
> Is this property only set up in weblogic?
>
> Thanks
> Mike Barnes
> -----Original Message-----
> From: ajug-members-bounces at ajug.org
> [mailto:ajug-members-bounces at ajug.org] On Behalf Of James Mitchell
> Sent: Thursday, May 17, 2007 10:31 PM
> To: General AJUG membership forum (100-200 messages/month)
> Subject: Re: [ajug-members] Weblogic help
>
> Any reason why you are not using System.getProperty
> ("java.io.temp"); ??
>
>
> --
> James Mitchell
>
>
>
> On May 17, 2007, at 10:06 PM, Barnes, Mike wrote:
>
>> I need to get the absolute path so that I can write out a file and
>> have found that getRealPath("/") does not seem to work. Can anyone
>> suggest a way that I can find the absolute path for the web
>> application that I am running.
>>
>>
>>
>> Thanks
>>
>> Mike Barnes
>>
>>
>>
>> _______________________________________________
>> ajug-members mailing list
>> ajug-members at ajug.org
>> http://www.ajug.org/mailman/listinfo/ajug-members
>
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________
ajug-members mailing list
ajug-members at ajug.org
http://www.ajug.org/mailman/listinfo/ajug-members
More information about the ajug-members
mailing list