Freddy D. <[EMAIL PROTECTED]> writes:
>
> Hi Jim,
>
> - Looks like I spoke too soon. Works in all cases except
> - for when I try a url for a view that I know does not exist.
> - Instead of returning a 404, it seems to pass
> - in "/" as the path resulting in the exception we saw before.
>
> Don't know what to tell you, when I try a URL for a non-existing view, I get a
> 404 as expected.
>
> What is the exception stack trace that you get?
>
> Freddy
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
Hi Again,
I get the following exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:558)
at net.sourceforge.stripes.controller.NameBasedActionResolver.
getFindViewAttempts(NameBasedActionResolver.java:368)
at com.greekd.app.ext.BaseActionResolver.
getFindViewAttempts(BaseActionResolver.java:32)
This happens after getActionBeanType is called a *second* time.
The first time, it is invoked from DynamicMappingFilter with the
path that I entered. The second time it is invoked, it is being
invoked by getValidationMetaData() in the UrlBuilder class. At
that point, getActionBeanType is being passed "/" as the path.
Jim
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users