Isn't an Action's 'input' parameter supposed to be context relative?  
I thought that it was supposed to be, but I'm seeing otherwise when 
my form, which is in a module, fails its validation test.

Instead of returning to the input form, it is forwarding to the input
form prefixed with the module name.   In my profile-config.xml file, 
which configures the module, I have this  Action:

    <action input="/jsp/pages/profile/index.jsp" 
            name="userProfileActionForm" 
            path="/user" 
            type="fpd.UserProfileAction" validate="true">
      <forward contextRelative="true" 
               name="forward" 
               path="/jsp/pages/profile/email.jsp" />
    </action>


When I fill in the form correctly, the request gets forwarded on to 
the next form, email.jsp, which is located in /jsp/pages/profile.

But if it fails validation, it is getting sent to 
/profile/jsp/pages/profile/index.jsp, which doesn't exist, which pops
 up an error message. 

Here's the log file output, which seems to confirm the problem:

-  Validation failed, returning to '/jsp/pages/profile/index.jsp'
-  Delegating via forward to '/profile/jsp/pages/profile/index.jsp'


How do I get around this?  Many thanks in advance.   I really 
appreciate the help I've gotten from folks on this list.


Dave

Reply via email to