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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:47:39+00:00 2026-05-29T22:47:39+00:00

I use GWT to build a mobile webapp. When I call the app on

  • 0

I use GWT to build a mobile webapp.

When I call the app on a mobile browser with a mobile internet connection, the loading of the javascript, generated by GWT, takes a long time.

So, I want to change it that way, that I first send a Start HTML-page to the client and load the GWT-javascript at background.

Is this possible?

  • 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-29T22:47:40+00:00Added an answer on May 29, 2026 at 10:47 pm

    I don’t really know about mobile apps but in a GWT app, the javascript is loaded into a html page inside a script tag:

    <!--                                           -->
    <!-- This script loads your compiled module.   -->
    <!-- If you add any GWT meta tags, they must   -->
    <!-- be added before this line.                -->
    <!--                                           -->
    <script type="text/javascript" language="javascript" src="application/application.nocache.js"></script>
    

    If you want anything to appear before the loading of the javascript is done, just put it on that page as html.
    example:

    <!--                                           -->
    <!-- The body can have arbitrary html, or      -->
    <!-- you can leave the body empty if you want  -->
    <!-- to create a completely dynamic UI.        -->
    <!--                                           -->
    <body>
    
    <!-- OPTIONAL: include this if you want history support -->
    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
    
    <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
    <noscript>
      <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
      </div>
    </noscript>
    
    <!-- Loading indicator -->
    <div id="loading">
      <div class="loading-indicator">
      <img src="images/loadingStar.gif" width="40" height="40" />Application Name<br />
    <span id="loading-msg">Loading...</span></div>
    </div>
    
    <!--                                           -->
    <!-- This script loads your compiled module.   -->
    <!-- If you add any GWT meta tags, they must   -->
    <!-- be added before this line.                -->
    <!--                                           -->
    <script type="text/javascript" language="javascript" src="application/application.nocache.js"></script>
    

    Here, a div tag puts a loading gif on the page that appears until all the gwt javascript has been loaded. You can put anything you want on that page before loading the javascript.

    Then in your application, (on module load) replace the content of the rootpanel with your application !!

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

Sidebar

Related Questions

I use jenkins to build my gwt app, now I want to run a
What is the best way I can use to build a GWT app to
I want to build a GWT application that doesn't use a database. I thought
I want to embed a VLC player in my webapp build with Google's GWT.
I'm trying to build database application using GWT 1.5.3. I use JPA annotations with
I need recommendations from people whom have implemented an easy to use GWT editable
I want to use the latest gwt-incubator drop - gwt-incubator-july-14-2009.jar - in a Maven
I'm trying to use JPA with GWT. My serviceImpl calls UserDAO.exists(user); When I run
I am using GWT for google map application. I use Google's gwt-maps.jar for mapping
I'm attempting to use Panda with my GWT application. I can upload videos directly

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.