Hi now it works, but there was a strange behaviour here (maybe a bug) but i can't reproduce it anymore. The problem was that /* url-pattern didn't work, but /mp3Rapidshare/* worked.
Here is how i Fix it: the original web.xml was: <?xml version="1.0" encoding="utf-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <filter> <filter-name>*WicketFilter*</filter-name> <filter-class>org.apache.wicket.protocol.http.*WicketFilter* </filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>nm.mp3rapidshare.WicketApplication</param-value> </init-param> </filter> <filter-mapping> <filter-name>*WicketFilter*</filter-name> <url-pattern>/mp3Rapidshare/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>*WicketFilter*</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> </web-app> here the <filter-name> and the <filter-class> have the same name at the end. So i changed to <filter-name> *WicketFilter1* </filter-name> and it worked! the new web.xml: <?xml version="1.0" encoding="utf-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <filter> <filter-name>*WicketFilter1*</filter-name> <filter-class>org.apache.wicket.protocol.http.*WicketFilter* </filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>nm.mp3rapidshare.WicketApplication</param-value> </init-param> </filter> <filter-mapping> <filter-name>*WicketFilter1*</filter-name> <url-pattern>/mp3Rapidshare/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>*WicketFilter1*</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> </web-app> And then i tried to reproduce a possible Bug, Replacing the web.xml with the last from muy SVN: The same Web.xml that didn't work, now works: (Strange!!) <?xml version="1.0" encoding="utf-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <filter> <filter-name>*WicketFilter*</filter-name> <filter-class>org.apache.wicket.protocol.http.*WicketFilter* </filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>nm.mp3rapidshare.WicketApplication</param-value> </init-param> </filter> <filter-mapping> <filter-name>WicketFilter</filter-name> <url-pattern>/mp3Rapidshare/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>*WicketFilter*</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> </web-app> But, now it works, so i can continue developing. So Thanks a lot NM On Fri, Feb 19, 2010 at 8:18 AM, Ian Marshall <ianmarshall...@gmail.com>wrote: > Hello there, > > A fellow Wicket user! I use the following filter mappings in my > web.xml, which work for me; they might work for you too... > > <filter-mapping> > <filter-name>WicketApplication</filter-name> > <url-pattern>/wicket/*</url-pattern> > </filter-mapping> > > <!-- This must be after the similar block for "/wicket/*" --> > <filter-mapping> > <filter-name>WicketApplication</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > > Do let us know how you get on. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.