Hello everyone.

Thank you for any help in advance.

I have mapped StripesFilter to all .htm files.

    <filter-mapping>
        <filter-name>StripesFilter</filter-name>
        <servlet-name>DispatcherServlet</servlet-name>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>

    <servlet>
        <servlet-name>DispatcherServlet</servlet-name>
        
<servlet-class>net.sourceforge.stripes.controller.DispatcherServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>DispatcherServlet</servlet-name>
        <url-pattern>*.htm</url-pattern>
    </servlet-mapping>

This was working just great.. until someone clicked a button on a 
javascript widget (tiny_mce) that caused a popup to open 
(/path/to/tiny_mce/something.htm).  Of course Stripes intercepted the 
called and complained that it couldn't find an ActionBean for the page.

I think I have 2 options.

1) Change my files from .htm to something else.  .html and .jsp are 
already taken.  My boss wasn't happy with the default .action which is 
why I changed it in the first place.  Any suggestions?

2) Somehow exclude the parent path to the tiny_mce editor.  I can 
exclude all of /javascript and should be ok since none of the pages that 
Stripes should be concerned in will live there.   I just can't find a 
way to do this.  I don't believe the jsp spec allows it, and I can't 
find a configuration parameter for Stripes.

Any help help, ideas or alternate suggestions would be greatly appreciated.

Tony Nelson
Starpoint Solutions


------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to