in my struts-config.xml I have
<exception
key="global.error.invalidContactId"
path="/ContactIdForm.jsp"
scope="request"
type="mrf.exceptions.InvalidContactIdException"/>
<exception
key="global.error.noDonationsForContact"
path="/ContactIdForm.jsp"
scope="request"
type="mrf.exceptions.NoDonationsForAContactIdException"/>
so ContactIdForm.jsp could have errors as a result from
InvalidContactIdException
or NoDonationsForAContactIdException being thrown
How can I use <logic:present> to deternime which of two caused error
<logic:present name="org.apache.struts.action.ERROR">
// want to do special logic if got here because
NoDonationsForAContactIdException
</logic:present>
thanks all, sorry about the confusing first post
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Struts-apps mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/struts-apps