tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maisano, Ben J" <benjamin_j_mais...@uhc.com>
Subject RE: Tiles error once session times out
Date Thu, 04 Sep 2008 13:30:26 GMT
Hi Antonio,
	Here is our JSP code snipplet.  As you can see below we are only
using one standard tiles:insertDefinition tag.  The flush=false is
related to a JSF 1.1 bug where JSP includes cause problems with the
buffer output, and webpages get all messed up, I don't understand all
the details, however it is working fine before session times out.  Any

<body onload="PageOpen()">
	//JSF cannot forward to a tile definition directly,
	//so uses this class to redirect.
	//Get navigation definitions from request or session
	String tilesDefStr = request.getParameter("tileDefinitionReq");
	String moduleStr = request.getParameter("selectedModule");
	if(tilesDefStr != null){
		session.setAttribute("tileDefinitionReq", tilesDefStr);
	} else{
		//not coming from request, so should be post back to
same page from session
		tilesDefStr =
	if(moduleStr != null){
		session.setAttribute("selectedModule", moduleStr);
	} else {
		//navigation not in request, so post back to same page
from session
		moduleStr =
	<tiles:insertDefinition name='<%=tilesDefStr%>' flush="false" />

Ben Maisano
UnitedHealth Group IT
Office: 860-702-6994
Cell:    203-919-8800

-----Original Message-----
From: Antonio Petrelli [mailto:antonio.petrelli@gmail.com] 
Sent: Thursday, September 04, 2008 2:44 AM
To: users@tiles.apache.org
Subject: Re: Tiles error once session times out

2008/9/3 Maisano, Ben J <benjamin_j_maisano@uhc.com>:
> Hi,
>    I have recently integrated Tiles 2.0.6 into my JSF 1.1 application 
> on WebSphere 6.1 JRE 1.5.  It is currently working fine until the 
> session on the server times out.

May I see the code that you use to include the definition?


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.

View raw message