struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hunt <techdo...@yahoo.com>
Subject define tag
Date Fri, 02 Feb 2001 19:46:10 GMT
Hi
If we use struts-bean:define tag and if the variable
is not found, does it raise exception. If yes how can
I catch it and handle it.
Normally if A is in Sesion scope and a property B
then we would do 
<bean:define id="m" name="A" scope="session"
type="typeA" />
<bean:define id="B" name="m" scope="page" type="typeB"
/>

Now if for some reason we cant find A in the session
or say A is null, we cant put a series of if
conditions in the jsp. How are we supposed to handle
such scenarios
Thanks
Hunt

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message