aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Hidden frame takes a long time to load Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Hidden frame takes a long time to load" Watch "Hidden frame takes a long time to load" New topic
Author

Hidden frame takes a long time to load

Raghav Sam
Ranch Hand

Joined: Apr 12, 2001
Posts: 412
I have something like this in my login frameset


It takes awhile to load this particular frame. Is it because I have not specified a file in the src attribute?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Do you have a closing tag in the real code?

Eric
Raghav Sam
Ranch Hand

Joined: Apr 12, 2001
Posts: 412
Originally posted by Eric Pascarello:
Do you have a closing tag in the real code?

Eric


You mean a closing tag for frame as in </FRAME>?
Is this necessary?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
as in </iframe> or />

Eric
Raghav Sam
Ranch Hand

Joined: Apr 12, 2001
Posts: 412
Originally posted by Eric Pascarello:
as in </iframe> or />


There is no closing tag and I have never used one for frame. Let me try it.

But my initial question about the src attribute: is it okay if I leave it empty or what happens if I specify a blank.html and there is no correspoding physical file present. In this case does the webserver try to locate the nonexistent html page and hence take a long time?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

If you specify a URL of course the server is going to try and find it. However, it should never take very long to determine whether a resource at that URL exists or not.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hidden frame takes a long time to load