I would say there is a simple JSP way and it works well for me: a link to logoff.jsp that looks like this:
<%
session.invalidate();
response.sendRedirect( "app");
%>


Link:
<a href="logoff.jsp" class="menu" jwcid="logoff" >Log Off</a>

Component:
<component id="logoff" type="Any">
<binding name="href" expression="page.engine.contextPath + '/logoff.jsp'"/>
</component>


Vjeran Marcinko wrote:

I just want to point out again to this problem, that should really have
first-class support in any web framework due to it's commonality :
http://issues.apache.org/jira/browse/TAPESTRY-237

-Vjeran







--
Thanks,

Konstantin Ignatyev

http://www.kgionline.com





PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2.700 tons of 
CFCs to the stratosphere, and increase their population by 263.000

Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools. New York: State University of New York Press, 1997: (4) (5) (p.206)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to