Postback form rendering fails if ORIGINAL_URI key not present
-------------------------------------------------------------

                 Key: STR-3070
                 URL: https://issues.apache.org/struts/browse/STR-3070
             Project: Struts 1
          Issue Type: Bug
          Components: Taglibs
            Reporter: Paul Benedict
            Priority: Minor
             Fix For: 1.4.0


I was unwittingly using the classic RequestProcessor when attempting to use 
postback forms. Unfortunately, I got a NPE:

java.lang.NullPointerException
        
org.apache.struts.taglib.TagUtils.getActionMappingName(TagUtils.java:583)
        org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:834)
        org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:467)

I traced the problem back to a missing step in the classic RP. It does not set 
the ORIGINAL_URI key like the ComposableRequestProcessor. However, FormTag 
should explain this condition when a postback form is used but the key is 
absent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to