Solved

tiles using frameset tag

Posted on 2004-10-13
4
712 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

840 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