<filter>
  <filter-name>aimsWicket</filter-name>
  <filter-class>wicket.protocol.http.WicketFilter</filter-class>
  <init-param>
    <param-name>applicationClassName</param-name>
    <param-value>
      com.csc.aims.framework.AIMSApplication
    </param-value>
  </init-param>
  <init-param>
    <param-name>filterPath</param-name>
    <param-value>app</param-value>
  </init-param>
</filter>

<filter-mapping>
  <filter-name>aimsWicket</filter-name>
  <url-pattern>/app/*</url-pattern>
</filter-mapping>


Johan Compagner wrote:
> 
> what does your web.xml look like (the filter and the filtermapping)
> 
> On 12/22/06, ChuckDeal <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> This path works to load my app: http://localhost:2467/aims/app
>> This one doesn't: http://localhost:2467/aims/app/   <-- note the ending
>> slash
>>
>> When tracing through the WicketFilter code, it looks like
>> isWicketRequest()
>> can't deal with it so it delegates to
>> webApplication.getRequestCycleProcessor
>> ().getRequestCodingStrategy().urlCodingStrategyForPath(path)
>> which returns null because it specifically excludes the '/'.  You can't
>> mount '/' because mount(...) will throw IllegalArgumentException("The
>> mount
>> path '/' is reserved for the application home page").  Is this a
>> loophole,
>> or have I missed something.
>>
>> The comments on this issue (
>> http://issues.apache.org/jira/browse/WICKET-114)
>> do not descirbe my problem, but they do seem to be related in that
>> WickFilter doesn't always handle slashes correctly.
>>
>> Chuck
>> --
>> View this message in context:
>> http://www.nabble.com/WicketFilter-problem-with-isWicketRequest%28%29-tf2871497.html#a8025822
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WicketFilter-problem-with-isWicketRequest%28%29-tf2871497.html#a8163658
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to