Marc,

I think your discomfort is well placed, this clearly mixes the C & V at
the very least ;-). Check out the samples distributed with Struts, they
show how to do this using custom taglibs, which is a cleaner way to do
it, IMHO. 

regards,

Stephen Owens
Corner Software

-----Original Message-----
From: Marc L. de Bruin [mailto:[EMAIL PROTECTED]]

*/<%@page contentType="text/html"%>/*
*<jsp:useBean **id**=*"User"* scope**=*"session"*
**class**=*"com.jspinsider.struts.User"* />* 

*/<% if (User.isActive() == false){%>/*
    *<jsp:forward page**=*'logon.jsp'* />*   
*/<%}%>/*

*<**html**>

*My question: 
- Is this the proper way to do it? I didn't expect Java-code to appear @
the view;
- If not, what is the proper way to accomplish such a result?

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

Reply via email to