|
We have a setup where we call a servlet to generate a PDF. The servlet then calls pd4ml.render with an URL to a jsp.
When an error occurs in the jsp, the module's web.xml error-page configuration kicks in resulting in a PDF containing the error page.
We would like to be able to send specific HTTP-status code back to the original caller of the servlet instead.
The only way we can seem to make that happen is if we drop the error-page config, but we use that to display an error page for the rest of the web module.
Do you have any ideas as to set this up without having to move all Pd4ml into seperate module?
/Clfr
|