Map the wicket servlet to /* instead. Keep in mind the note from the following wiki page about mapping to /* though:
http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-Moreinfo You will have some issues with posts to the servlet because of this mapping. This can be worked around be providing a IRequestCodingStrategy that ensures a / is mapped to the start of all urls. Ryan On 2/20/07, Juan Asensio Sánchez <[EMAIL PROTECTED]> wrote: > Hi everybody > > I am developing a small documentation system (like a wiki) using wicket. I > don't know if my question is referent to wicket or java servlets. I have a > context named "MyWikiApplication" and teh wicket servlet mapped to "/" > (MyWikiApplication), so when a user access to > > http://localhost:8080/MyWikiApplication > > the homepage of the application is displayed. I want that when a user types: > > http://localhost:8080/MyWikiApplication/category/subcategory/morecategories/the-name-of-the-document.html > > The application handles this request and searches in a database for a page > with that name and in those categories. If no one found, then it should > display an error page. > > With the exposed initial configuration, I supposed that all request under > "MyWikiApplication" > would be handled by the wicket application, but i get a not found page. > > Any idea about how to implement this feature? Thanks in advance. > > ------------------------------------------------------------------------- > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
