Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: file size validation in js

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Thanked 0 Times in 0 Posts

    Default file size validation in js

    Hi All,
    Is there a way to get the file size before uploading in javascript?

    I tried using ActiveXObject it worked but we need to change our security settings in IE which is not possible to do with all the users using my application.

    Can some one help me here.

  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    My Mood
    Thanked 263 Times in 232 Posts

    Default Re: File size validation in js

    Welcome to the Java Programming Forums sowmiyadevi.

    Please be aware this is not a javascript forum.
    Also please read the sticky at the top of the Member Introductions section: This Forum is for Saying Hi, not for Asking Technical Questions (READ BEFORE POSTING)
    Also please see the forum rules and guidelines.
    Last edited by jps; September 28th, 2012 at 04:28 AM. Reason: Moved from member introductions

Similar Threads

  1. Replies: 4
    Last Post: February 14th, 2012, 03:28 PM
  2. Limit File Size or Request Size
    By tarek.mostafa in forum Java Servlet
    Replies: 3
    Last Post: June 12th, 2010, 04:28 PM
  3. Limit File Size or Request Size
    By tarek.mostafa in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: June 11th, 2010, 07:21 AM
  4. Error in validation.xml file while deploying in server
    By venkat.ravala in forum Web Frameworks
    Replies: 0
    Last Post: January 16th, 2010, 08:56 AM