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

  • Home
  • SEARCH
  • 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 8921243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:29:24+00:00 2026-06-15T06:29:24+00:00

I am using Gwt 2.4. After compiling my project i am getting some document.write

  • 0

I am using Gwt 2.4. After compiling my project i am getting some document.write lines in the mymodle.chache.js which is most weired .

So i want to know the places which producing these lines in my GWT code and came across and found some lines of code like

element.setInnerHtml("blah ..blah..");

and

doc.write("blah..blah ..");

So i removed those line of code and compiled again again and still getting some (ex:document.write(df+er+t)) lines .

Anyone suggest a way to find the cause to producing those lines from my GWT ??

  • 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-15T06:29:25+00:00Added an answer on June 15, 2026 at 6:29 am

    (assuming you’re talking about the *.nocache.js file rather than the *.cache.* files, as *.cache.* don’t contain calls to document.write, unless you’re using a crappy third-party lib)

    The *.nocache.js file is generated by the primary linker, so its content is independent from your code. It contains calls to document.write() for various things: determine your module base URL (as a last resort, when it cannot infer it from elsewhere), inject scripts and stylesheets referenced from your *.gwt.xml files, and finally inject the GWT application code itself (with the standard linker, this will be an <iframe>, with the newer xsiframe linker it’ll be a <script>).
    If you’re really worried about it, it can be customized quite easily by extending the CrossSiteIframeLinker (xsiframe linker) and providing different code snippets.

    Tip: compile with -style PRETTY to make the generated code readable.

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

Sidebar

Related Questions

I am using GWT to write a simple app. Ive divided the view into
I'm programming using GWT, which includes Jetty. I have defined my own servlet and
Hi i am using GWT after i came to know that GWT will convert
I have a problem using fire() with a GWT RequestFactory after I've used it
While using GWT FormPanel, after submitting the form, it posts form but does not
I m just starting using gwt and so far so good, however after reading
I'm using the gwt-mosaic 0.4.0-rc4. I have the following errors after a mvn gwt:compile
I'm using the Google Web Toolkit (GWT) 2.1. I have a GWT Grid (which
I am using GWT and RPC in my app. after session expires when I
I created a login page in GWT using widgets and RPC. After succesful login,

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.