Thanks for the feedback, Dave!

Dave Newton wrote:
>> Q: What must I do to take care of the warnings?
>>     
>
> Set the debug level of
> org.apache.struts2.components.Form to ERROR or just
> ignore them, at least for now :)
>   
>> It all works fine, but then why the warnings?
>>     
>
> To warn you that you're posting to something that
> isn't configured in the struts.xml file, which is
> probably a mistake in the majority of S2 apps, but not
> necessarily (obviously!)
>   
Unfortunately, setting the debug level is not really an option in my
case. :) Actually we are interested in seeing any warnings, since we aim
to develop without getting any warnings -- for many reasons. But in this
case, where everything is in order, the warning seems a bit misplaced.
The warning should indeed be the default behavior, but perhaps if there
was a way to tell Struts "yes, the action is not mapped in struts.xml,
but I know what I am doing"? Perhaps we need a parameter such as
'literal="true"' to allow literal URLs?

-Erik

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

Reply via email to