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 7650733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:19:43+00:00 2026-05-31T11:19:43+00:00

I am working on an application where we are providing user with the option

  • 0

I am working on an application where we are providing user with the option to navigate back to the webpages user has previously viewed.

The problem arises when user navigates back to a page which contained POST data.

I don’t know how to detect that the page loaded in the WebView had POST data so that app can prompt a confirm dialog, if he wants to resend the POST data or not.

I have seen this happening in android browsers [Native browser & Skyfire]

Thanks in advance…

  • 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-05-31T11:19:44+00:00Added an answer on May 31, 2026 at 11:19 am

    After several days of research I created a workaround to get rid of this situation.

    I set a flag when WebView.goback() is called.

    In my onProgressChanged() method I check if the url being loaded matches with the url which should contain the POST DATA, then I call WebView.reload(), I set my flag to false and I also override the onFormResubmission method of the WebViewClient this way:

    @Override
    public void onFormResubmission (WebView view, Message dontResend,Message resend){
        resend.sendToTarget();
    }
    

    For more detailed information, visit: http://mytechead.wordpress.com/2012/03/08/resubmit-post-data-in-a-webview/

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

Sidebar

Related Questions

I am working on a commercial web application that has a separate mobile browser
So I've been working on an application that has woeful access control up till
I am working on an application that uses the location of the user. I
I am working on an application that uses JQuery Mobile . My application has
I am working on profiling a legacy application using Spring AOP and I want
I have a working application using python and zeromq and I would like to
I've got (working) application done with ttk. It uses self-created module for showing a
I am working on splitting out an existing, working application that I currently have
I've try to implement integration tests for a working application (spring, hibernate, soap, cxf).
i am working in application of twitter in flex 3 and action script 3

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.