I would like to do something like this:
(e.g. http://foo/view.action?page=help.vm)
/templates/screens/#request['page']
I know I can do it if I write my own action with setters/getters for the
parameter .. but I was wondering
if I can use some ognl syntax or other (e.g. $
the previous posting seems to not like the \
You are right... I am just trying to catch those rare events.
Now here's something crazy: (and I have checked, and double checked,
restarted server, etc).
BUT if I add a to my action, the exception mapping WORKS. If I
take it away, the exce
truction is complete, exceptions such as the
> one you are getting are never thrown, because the paths through the site
> are well know.
>
> /Ian
>
> mikeh96 wrote:
>> Thanks for the clarification. Is the solution of extending
>> VelocityResult
>> and configurin
est to a template that will not exist? I find that
> most of the time, once construction is complete, exceptions such as the
> one you are getting are never thrown, because the paths through the site
> are well know.
>
> /Ian
>
> mikeh96 wrote:
>> Thanks for the c
ic, and not
> developer-based configuration which will usually be managed during the
> construction phase.
>
> /Ian
>
> mikeh96 wrote:
>> thanks for looking. I pasted the full stack trace below. I am not
>> using
>> any home grown action code (yet). This is
ecute() (or equivalent)
> business logic method? This is where the exception handler interceptor
> is applied. It seems like the exception you are receiving is from a
> rendering phase outside the execution of the actions logic.
>
> /Ian
>
>
>
> mikeh96 wrote:
>>
Brian-
>
> On Sep 30, 2007, at 9:43 PM, mikeh96 wrote:
>
>>
>> I am unable to trap an exception and it's being pushed up until it
>> becomes a
>> 500 Servlet Exception.
>>
>> Basically, I want to catch the exception if a user mistypes an
>&
I am unable to trap an exception and it's being pushed up until it becomes a
500 Servlet Exception.
Basically, I want to catch the exception if a user mistypes an action name
I am using struts2 (2.0.9).
Here's the top of the trace:
org.apache.velocity.exception.ResourceNotFoundException:
Unable
8 matches
Mail list logo