You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <tu...@ws.apache.org> on 2008/05/15 09:51:55 UTC

[jira] Assigned: (TUSCANY-2320) The contextPath init parameter for TuscanyServletFilter.

     [ https://issues.apache.org/jira/browse/TUSCANY-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder reassigned TUSCANY-2320:
----------------------------------

    Assignee: ant elder

> The contextPath init parameter for TuscanyServletFilter.
> --------------------------------------------------------
>
>                 Key: TUSCANY-2320
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2320
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-1.2
>            Reporter: Ilya Kanonirov
>            Assignee: ant elder
>
> Current version of the component requires the contextPath initialization parameter to be specified in the Servlet Context, i.e. we need the following context-param in web.xml:
> <web-app
> ...
>     <context-param>
>         <param-name>contextPath</param-name>
>         <param-value>/ctx</param-value>
>     </context-param>
> ...
> </webapp>
> while the previous Java SCA 1.1 required that parameter at the filter description level:
> <web-app
> ...
>   <filter>
>     <filter-name>tuscany</filter-name>
>     <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
>     <init-param>
>       <param-name>contextPath</param-name>
>       <param-value>/ctx</param-value>
>     </init-param>
>   </filter>
> ...
> </webapp>
> Is that parameter supposed to be there, defined at the Servlet Context level?
> If yes, I would suggest renaming the parameter to avoid confusing. For example, adding a package prefix might be enough.

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