Hi Kai,

I've been giving it a shot recently and found several issues, so I'm
still using my own old extension, on top of Stripes 1.4.2. We
integrate Ben's clean URLs to Woko which I think has all use cases for
this and helps to spot issues :-P

I'll update, build and use the latest trunk to do the testing in the
next days...

Stay tuned...

Remi

On 8/14/07, Kai Grabfelder <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> any news about this? What about other stripes users: is the clean url stuff
> still working for you?
>
> Regards
>
> Kai
>
> --- Original Nachricht ---
> Absender: Kai Grabfelder
> Datum: 10.08.2007 21:26
> > Hi Ben,
> >
> > Revision 590 (StripesFilter) broke the clean urls stuff for me. Here is the 
> > story:
> >
> > the url mapping on my action bean looks like this:
> > /community/user/{id}/index.htm
> >
> > I try to open the following url /community/user/foo/index.htm
> >
> > I have the following mappings in the web.xml:
> >
> > <servlet-mapping>
> >  <servlet-name>StripesDispatcher</servlet-name>
> >  <url-pattern>*.htm</url-pattern>
> > </servlet-mapping>
> >
> > <filter-mapping>
> >   <filter-name>StripesFilter</filter-name>
> >   <url-pattern>*.jsp</url-pattern>
> >   <dispatcher>REQUEST</dispatcher>
> > </filter-mapping>
> > <filter-mapping>
> >   <filter-name>StripesFilter</filter-name>
> >   <url-pattern>*.htm</url-pattern>
> >   <dispatcher>FORWARD</dispatcher>
> > </filter-mapping>
> >
> > Before revision 590 the url for rewriting looked like this:
> > url = new StringBuilder(request.getRequestURI());
> >
> > now it looks like this:
> > url = new StringBuilder(binding.getPath());
> >
> > This can't obviously work because afterwards he is trying to do a forward to
> > /community/user/?id=foo
> >
> > before it would have been
> > /community/user/foo/index.htm?id=foo
> >
> > Any idea how this can be fixed? Maybe by adding the suffix of the original
> > request to the url that is forwarded?
> >
> > Many thankx in advance
> >
> > Regards
> >
> > Kai
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > Stripes-development mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/stripes-development
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Stripes-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to