Solved

tiles using frameset tag

Posted on 2004-10-13
4
722 Views
Last Modified: 2013-11-19
Hi,

I am using tiles for desining the frontend of a webapplication. I have designed the layout which consists of  title, header, body and footer. If  I link a Single JSP page to the layout, it works fine. But the problem comes if I link a JSP page which uses FRAMESET tags. The following below is the file that I am linking to my layout.
-------------------

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<frameset rows="*" cols="217,*" framespacing="0" frameborder="NO" border="0">
  <frame src="login.jsp" name="leftFrame" scrolling="NO" noresize>
  <frame src="content.jsp" name="mainFrame">
</frameset>
----------------------

Could any body tell me how should I avoid the problem? Any possible hints/sample code is very much appreciated.

Thanks.
0
Comment
Question by:ranjith17
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Expert Comment

by:siliconeagle
ID: 12348674
what do you mean by link? you mean <a/>? how do you do the linking?
0
 
LVL 29

Accepted Solution

by:
bloodredsun earned 250 total points
ID: 12862520
Framesets in tiles are frowned on as if the page fails in some way you will see the error and the user is taken to the failed page.

Just create a seperate tiles page that includes these pages in the same way that you created the original template that has the tiles:insert tags in and use this instead.

If you have to, you coould also have a standard insert on the left and have an iframe in the page on the right for content.jsp.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

626 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