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 Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 13/01/2006 3:10:58 pm >>>

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 PROTECTED]> 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 <exception> in
> struts-config.xml?
>
> --
>
> "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 Technology
> Ph: 61 7 3006 6460
> Email: [EMAIL PROTECTED]
>
>
>
>
>
>
***************************************************************************
> Messages included in this e-mail and any of its attachments are
those
> of the author unless specifically stated to represent WorkCover
> Queensland. The contents of this message are to be used for the
intended
> purpose only and are to be kept confidential at all times.
> This message may contain privileged information directed only to the
> intended addressee/s. Accidental receipt of this information should
be
> deleted promptly and the sender notified.
> This e-mail has been scanned by Sophos for known viruses.
> However, no warranty nor liability is implied in this respect.
>
>
****************************************************************************
>
>
>







***************************************************************************
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The 
contents of this message are to be used for the intended purpose only and are 
to be kept confidential at all times.
This message may contain privileged information directed only to the intended 
addressee/s. Accidental receipt of this information should be deleted promptly 
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
****************************************************************************

Reply via email to