UnknownAction
I am not very familiar with struts2, but I need to implement an Unknown
Action.
I could not find any examples on the internet.
I think that for handleUnknownAction, I just wanted to go to the
<global-result> with failure, for now and then we might change the behavior.
This happens when a user types in a bogus url, and we wanted to handle the
logging differently.
But I was not sure how to configure the ActionConfig,
Is there an action that comes with Struts2, that I can give which
corresponds to the GlobalResults?
And for the handleUnknownResult I was just going to return a NullResult.
We do not return different results based on user params, so there are a
constant number of possibilities for the result, so this would only happen
if We had a bug? or is there something I am missing?
Thanks
Kal