Josh McDonald wrote:
> So the answer would be a 404 then? :) It's what I assumed would happen,
> just wasn't sure.
>
I gotta know: wouldn't have been quicker to type in a dodgy URL and see
what happened?!
Dave
-
To unsubscri
So the answer would be a 404 then? :) It's what I assumed would happen,
just wasn't sure.
Thanks for the response,
-Josh
--
"His comrades fought beside him, Van Owen and the rest...
But of all the thompson gunners- Roland was the best."
Josh McDonald
Analyst Programmer
Information
You handle it just as you would if you didn't use wildcards and the user
typed a non-existent URL. The typical way to handle this would be to define
an action mapping and set unknown="true" to tell Struts to call it if it
cannot find the requested action.
Don
On 1/12/06, Josh McDonald <[EMAIL PR
Josh McDonald wrote:
Quick question: When you've a wildcard in an actionmapping path, what
will you get when the user makes something up that has no corresponding
class? Will it give a 404, or an ugly stuts error? If it's an ugly
error, how do you catch it? Somehow with the in
struts-config.xml?
Quick question: When you've a wildcard in an actionmapping path, what
will you get when the user makes something up that has no corresponding
class? Will it give a 404, or an ugly stuts error? If it's an ugly
error, how do you catch it? Somehow with the in
struts-config.xml?
--
"His comrades
5 matches
Mail list logo