Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9123837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:26:12+00:00 2026-06-17T06:26:12+00:00

I implemented a limit on the size that users can upload images to the

  • 0

I implemented a limit on the size that users can upload images to the GAE blobstore using the UploadOptions method. When the file size uploaded is too large, I get redirected to this page:

Error 413 Your client issued a request that was too large. Maximum
upload size per blob limit exceeded.

How can I prevent the redirect? I want to provide a meaningful message to tell users that the file size is too large on the current page.

My code for uploading:

<form action="<%= blobstoreService.createUploadUrl("/upload", UploadOptions.Builder.withMaxUploadSizeBytes((512000))%>" method="post" enctype="multipart/form-data">
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T06:26:13+00:00Added an answer on June 17, 2026 at 6:26 am

    Submit the form with an ajax request. The response code is there and you can act on it accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know how to limit size in Map ( like this ,using LinkedHashMap.removeEldestEntry method
How many interfaces can a class file implement? Is there a limit on the
I am using the Tomahawk inputFileUpload component to allow users to upload files to
I notice the thread of similar question: Limit size of Queue<T> in .NET? That's
I'm using the following code in my UITextField delegate to limit the characters that
Context: I've just written a PHP file upload handler that saves any incoming file
I succesfully implemented the shake gesture, but now I would like to limit it
I have implemented a TTPickerTextField in my application, I would like to limit the
Is it possible to implement some kind of timeout (time limit) for fork using
I implemented the Facebook registration on my website. Everything works fine except that suddenly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.