please excuse me if this is a dupe - i posted to the general apache forum
and then MOVED it to the users forum & i wasn't sure if the post would go to
the mailing list if it was moved rather than originally posted
there...anyway:


i have seen this error reported several times and i have seen wicket devs
come back and say that it is fixed.  what i see is that all versions of
wicket from 1.4.11 - 1.4.17 have this exact problem.  i have a number of
RESTful calls to an app that are rewritten w mod_rewrite.  the rewritten
requests are processed by a MultiActionController and which then uses
RequestDispatcher.forward to pass the request on to my custom
WebRequestCycle.  Anything that is rewritten by mod_rewrite in 1.4.11 or
greater throws the StringIndexOutOfBounds exception in the *
getRelativePathPrefixToWicketHandler* method when it tries to do this:


relativeUrl = filterPath == null ? relativeUrl :
relativeUrl.substring(filterPath.length());


because the forwardUrl = '/rw' and the relativeUrl =
'account/updates/14883'.  can someone please offer a workaround for this?
 let me know if you need more information.  upgrading to 1.5 is fine and
all, but i would like to get this working in 1.4, too.  i have seen several
threads on this problem but nothing that definitively  tells me what the
solution is.

thanks.

Reply via email to