|
From: Alef A. \(JTeam\) <al...@jt...> - 2003-07-25 11:27:47
|
There's an (for my situation major) issue with the WebUtils :( I've got an UrlMapping saying **/*.view --> SomeController http://localhost/site/external/login-login.view works, while http://localhost/site/external/login-login.view;jsessionid=2c4s7a1vds3gb .jboss1 does not. But actually it should! I've prepared a fix for the issue, which involves adding a conditionality to the getPathWithinServletMapping() and the getPathWithinApplication() methods (in WebUtils). I've been able to test the getPathWithinApplication()-method (using the WebUtilsTestSuite) and basically it works. However, the getPathWithinServletMapping() method I can't really test, because in the MockServlet*** classes, there's no MockServletMapping yet (and I haven't got the time to add this before the 0.9.1 release). The fix works however for my application (for both URL-rewriting requests and non-URL-rewriting requests). All other tests still succeed. But, since I'm not able to test everything enough and don't know the rest of the web stuff enough to know what the impact is, I am kind of reluctant to add it, with the 0.9.1 release coming next week... Is there somebody that can find the time to figure out everything still works (or just says, yeah, it's ok ;-)?? The modified WebUtils and the WebUtilsTestSuite are attached to the email... Cheers, Alef |