[OT] Re: Wildcards in actionmapping and dodgey URLs

2006-01-13 Thread Dave Newton
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

Re: Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Josh McDonald
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

Re: Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Don Brown
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

Re: Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Rick R
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?

Wildcards in actionmapping and dodgey URLs

2006-01-12 Thread Josh McDonald
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