Solved

tiles using frameset tag

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

743 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

8 Experts available now in Live!

Get 1:1 Help Now