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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:57:41+00:00 2026-06-13T14:57:41+00:00

I have created an iFrame in a gwt. I need to plot some SVG

  • 0

I have created an iFrame in a gwt. I need to plot some SVG in that IFrame. Here is what I am doing
1. create an IFrame
2. make a call to jsp file which calls to several other js files.
3. the graphics gets plotted

Problem-
I am expecting all the graphic to be on the iFrame while, it is actually creating a new HTML page itself inside the iFrame. How can I stop this. As well, the new HTML page does not show me the scroll bar, how can i add that, because all my graphics is flowing out and not visible to me. Is there a way to do so. Please help me with some pointers.

I am not sure how to copy the code, so I have not done so.

Thanks!

  <html>
  <head>
  <script type="text/javascript">
   alert("Inside the jsp file");
   var criticalPath = window.top.criticalPath;

   </script>
   </head>
   <body>
   <script type="text/javascript" src="./js/flow.js"></script>          
   </body>
   </html>

Consider the above code where flow.js is plotting the pie chart. Now all this code is written in a jsp file. This jsp code is called from a gwt code from an iframe. Now i wanted this pie chart to be in iFrame but instead it is creating new HTML page inside the iFrame as

     <iFrame>
     <html>
             ..........
     </html>
     </iFrame>

I dont want this to happen. As well the new html that is created inside the iFrame does not have the scroll bar as my piechart is loosing its focus. Why is this happening? Any reason?

  • 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-13T14:57:42+00:00Added an answer on June 13, 2026 at 2:57 pm

    iFrame always contains an HTML document. This what iFrame tag was created for. Your jsp file renders as an HTML document inside of this iFrame.

    To add scrollbars, add CSS to your jsp file. Set overflow: auto on an element that contains your svg image.

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

Sidebar

Related Questions

I have created some JQuery that will expand a div 'popup' on hover and
I have a view that I created in my GWT application and I would
I have created a simple template here: http://jsfiddle.net/sfntz/ How is it possible to make
I have created an iframe code that I want people to use as a
I have created an iframe which contains the label, powered by MyWebsite.site The iframe
hi i have a problem with iFrame, i have to create an application which
I have an IFrame embedding a youtube video. I want to create a textbox
I have created a JSP / servlets application running in Tomcat 7. It runs
I have created an android application that calls (using kSOAP library) a SOAP based
I have created an iframe within my site. It loads when I click on

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.