Solved

Frame problem

Posted on 2002-07-21
1
166 Views
Last Modified: 2010-04-01
Hi, all

I have created a page called index.jsp. It has 2 frames: a header frame and a main frame. When I click on a "Home" button on the main frame, the main frame shows home.jsp. But when I type (my server name)/home.jsp, I need to get to the index.jsp with home.jsp on the main frame. How can I do it? Thanks.
0
Comment
Question by:jl2001
1 Comment
 
LVL 33

Accepted Solution

by:
knightEknight earned 50 total points
ID: 7169283
Put this in home.jsp:

<HTML>
<HEAD>
<SCRIPT language='javascript'>
 top.name = "topFrame";
 if ( top.name != self.name )
    top.location = "index.jsp";
</script>
</head>
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A procedure for exporting installed hotfix details of remote computers using powershell
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now