You can map you servlet to myApp/ e.g. <servlet-mapping> <servlet-name>WicketServlet</servlet-name> <url-pattern>/myApp/</url-pattern> </servlet-mapping>
but you must be aware, that all external resources (css, js, images) will be one level "deeper".
-Matej Jan Bares wrote:
Hi, I am not servlet API guru, but there's something strage in URL handling in wicket. The http://server/myApp will display homepage of myApp. However, http://server/myApp/ (note the final slash) returns error 404. For me this is strange behaviour. When I use something similar with Apache or IIS, the behaviour is different: I ask for http://server/myApp. It is mapped to a folder. Apache responds with redirect to http://server/myApp/ (note the final slash) and http://server/myApp/ returns default document from the folder. (wicket 1.1b2) Jan ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user