codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  how to get LastModified time of a file in repository(in weblogic8.2 )  vishal007 at 09:30 on Thursday, January 18, 2007
 

hi ,
my task is that i have to compare cache's file and repository's file . which is most recently updated (which is newer).
in i have to done in weblogic server 8.2 's repository and file system(cache) .
details :
i want to know that how we can check that when the file in repository last modified.
i want to check that node content of a particular repository (file /image/any data ) last modified by anyone , so that i can put the latest data in cache if cache 's file modified time
is less then repository's file modified .other wise no need to copy all file/data again ,if no modification .

  Re: how to get LastModified time of a file in repository(in weblogic8.2 )  mmarab at 13:16 on Thursday, January 18, 2007
 

Ok, your post is very poorly written.
But i think you are asking how you gain information such as when a file was last modified. File manipulation is very easy in Java and there are many website which go through these precudures, if i was you i would make a google search such as "Java File Last Modified", this is a website i found which explains it, actually it give you the code: http://www.rgagnon.com/javadetails/java-0068.html

  Re: how to get LastModified time of a file in repository(in weblogic8.2 )  vishal007 at 13:41 on Thursday, January 18, 2007
 

hi mmrab
thanx dear ,

i think you never heared abt Weblogic and repository
i m asking abt last modified time of a node's content in repository , not in simple java object .

any ways try to find again

regards










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Open new window with content
•  Using ASP Classic to Download an Image from SQL Server 2000
•  Set window position using button
•  Re: how to get LastModified time of a file in repository(in weblogic8.2 )
•  Re: Java Checkers
•  Re: .net
•  trying get the attributes of a file on the internet
•  Date checking script
•  Re: Small Java Program Help


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007