Solved

tiles using frameset tag

Posted on 2004-10-13
4
713 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
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logiā€¦
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

756 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