Hi,

prg does work fine using the normal workflow.
I want to use this pattern with my exception mappings too and defined:

<exception-mapping result="error" exception="java.lang.Exception"></exception-
mapping>


                        <result name="error" type="redirect">
                                <param name="portletMode">view</param>
                                <param name="actionName">error</param>
                        </result>


But all i get is a NPE in PortletResult line 120 because no location is set.
Using a location instead of an error action it does work using the 
RenderDirect Stuff.

How to use my own error handling action? Or is this not possible with portlets 
or possible at all?

thx

Torsten


PS: Using 2.0.11.x Struts.

-- 
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html

Really, I'm not out to destroy Microsoft. That will just be a 
completely unintentional side effect."
        -- Linus Torvalds

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to