struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klute <>
Subject {0} when mapping an exception in struts-config.xml
Date Mon, 24 May 2004 16:53:42 GMT
Hello All,

Sorry about the previous email from me--pressed the
wrong key before the email was even finished...

Anyway, I have a question and was hoping someone can

I have several Struts Action's whose exectute throw my
app-specific ObjectNotFoundException. So basically
what'd love to be able to do is to have something like
this and pass a param to in to build an applicable

exceptions.objectNotFoundException={0} was not found

I don't know if it is even possible for an exception's
mapping to accept a param. Probably not but hopefully
someone can shed some light on it.

Thanks a lot

p.s. This is a portion of struts-config that's
envolved. So currently for any occurrence of my
ObjectNotFoundException the same message (defined in
ApplicationResouces) gets displayed to the user:

 type="myco.ObjectNotFoundException" />

Do you Yahoo!?
Yahoo! Domains  Claim yours for only $14.70/year 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message