DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27734>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27734

Some o.a.struts.action.RequestProcessor.process*()  methods lack ActionMapping 
parameter

           Summary: Some o.a.struts.action.RequestProcessor.process*()
                    methods lack ActionMapping parameter
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I think, that methods processLocale(), processContent(), processNoCache(), 
processPreprocess() in org.apache.struts.action.RequestProcessor defined 
inconsistently with other such methods in that class. They do not accept parameter of 
type 
ActionMapping.

Why it's necessary to have this parameter in these methods? I'll explain 
using as an example processNoCache(). For some actions you might want to have "Pragma: 
No-cache, 
Cache-Control: no-cache" set, for some you don't. Unless you know ActionMapping, it's 
quite 
difficult to figure out which action you're dealing with. (In struts-config.xml you 
can define 
cache control, of course, but it applies to all the actions, not to some of them).

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

Reply via email to