aspose file tools
The moose likes JSP and the fly likes last modified date of a file. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

last modified date of a file.

Prabu Bala
Greenhorn

Joined: Feb 27, 2007
Posts: 23
Hi All,
I need a help from you all. I need to upload a file from client machine to server. I did it using MultipartHttpServletRequest API. Now i want to get the last modified date of a file.I used file.lastModified method to get the date but it returns the date when we upload the file to server, it not returns the original last modified date. Let me know is it possible to get teh file last modified date from the client side itself using javascript?


Thanks in advance.
Prabu
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56216
    
  13

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: last modified date of a file.
 
Similar Threads
last modified date of a file
Servlet that reload any class file in server
Get content of URL and preserve it's modified date
Last modified date
Struts 2 | Last modified date of an uploaded file