Chris

You wrote:

"Action may only return values to the sitemap when they were
successful. Therefore error conditions cannot be communicated that
way.
Because of this, everything that is would be returned is additionally
stored using an output module. This includes the JDBC error message.
The default is to use the request attribute module."


Thanks for the info and the pointer.  I would appreciate
it if you could direct me to more information about how to 
use the request attribute module in an XSP; specifically to
trap JDBC error messages - are there are samples of
how this is done in any of the documentation?  My work
up to now has mostly been on *retrieving* db data and
not on *adding* it, so I am still trying to get to grips with
all the issues involved...

Thanks
Derek

PS Apologies for the "cc", but I deleted your post to the 
list before I got to type this reply.

>>> [EMAIL PROTECTED] 2004/02/20 01:22:50 PM >>>
Perhaps I have used the wrong keywords, but I
cannot find anything in the docs that deals with this....

I am trying to present to the user the reason why a
Database Add (or Update) action may have failed.  The
sitemap is set up for the entry form to be redisplayed 
on failure (via XSP)... but I would like to know how to
access the specific error condition that triggered the
failure, from within the XSP and then present a suitable
message.

Any help or a pointer to examples would be appreciated.

Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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

Reply via email to