You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "kishore kumar (JIRA)" <ji...@apache.org> on 2009/11/26 15:52:13 UTC

[jira] Created: (WW-3342) FilterDispatcher URL Pattren

FilterDispatcher URL Pattren
----------------------------

                 Key: WW-3342
                 URL: https://issues.apache.org/struts/browse/WW-3342
             Project: Struts 2
          Issue Type: Task
          Components: Dispatch Filter
    Affects Versions: 2.1.6
         Environment: Weblogic 10.3
ICEFaces 1.8.1
            Reporter: kishore kumar
            Priority: Blocker


Hi,

Is there a way to change the FilterDispatcher URL Pattren other than /*?
I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren ICEFaces requests are being ignored.

Can i use url-pattren /*.action  ?

As per the struts documentation it says to use following

<filter>
      <filter-name>struts2</filter-name>
      <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
    </filter>
    <filter-mapping>
      <filter-name>struts2</filter-name>
      <url-pattern>/*</url-pattern>
    </filter-mapping>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-3342) FilterDispatcher URL Pattren

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart closed WW-3342.
-----------------------------

    Resolution: Not A Problem
      Assignee: Lukasz Lenart

> FilterDispatcher URL Pattren
> ----------------------------
>
>                 Key: WW-3342
>                 URL: https://issues.apache.org/struts/browse/WW-3342
>             Project: Struts 2
>          Issue Type: Task
>          Components: Dispatch Filter
>    Affects Versions: 2.1.6
>         Environment: Weblogic 10.3
> ICEFaces 1.8.1
>            Reporter: kishore kumar
>            Assignee: Lukasz Lenart
>            Priority: Blocker
>
> Hi,
> Is there a way to change the FilterDispatcher URL Pattren other than /*?
> I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren ICEFaces requests are being ignored.
> Can i use url-pattren /*.action  ?
> As per the struts documentation it says to use following
> <filter>
>       <filter-name>struts2</filter-name>
>       <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
>     </filter>
>     <filter-mapping>
>       <filter-name>struts2</filter-name>
>       <url-pattern>/*</url-pattern>
>     </filter-mapping>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-3342) FilterDispatcher URL Pattren

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47117#action_47117 ] 

Lukasz Lenart commented on WW-3342:
-----------------------------------

Please ask question on Struts User Group - user@struts.apache.org

and you can use following mapping:

    <filter-mapping>
      <filter-name>struts2</filter-name>
      <url-pattern>*.action</url-pattern>
    </filter-mapping>

but please then remember to extract static files from struts-core.jar (the struts folder)


Regards
--
Lukasz

> FilterDispatcher URL Pattren
> ----------------------------
>
>                 Key: WW-3342
>                 URL: https://issues.apache.org/struts/browse/WW-3342
>             Project: Struts 2
>          Issue Type: Task
>          Components: Dispatch Filter
>    Affects Versions: 2.1.6
>         Environment: Weblogic 10.3
> ICEFaces 1.8.1
>            Reporter: kishore kumar
>            Priority: Blocker
>
> Hi,
> Is there a way to change the FilterDispatcher URL Pattren other than /*?
> I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren ICEFaces requests are being ignored.
> Can i use url-pattren /*.action  ?
> As per the struts documentation it says to use following
> <filter>
>       <filter-name>struts2</filter-name>
>       <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
>     </filter>
>     <filter-mapping>
>       <filter-name>struts2</filter-name>
>       <url-pattern>/*</url-pattern>
>     </filter-mapping>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.