-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gregg,
On 3/5/2010 7:56 PM, GreggCarrier wrote: > I'm having a frustrating problem and I can't find the right configuration for > what I want. Hoping someone can offer some insight. > > Desired behavior: I want all requests to my webapp to be handled by one > servlet except requests for index.jsp or the root of the webapp. I do not > want trailing slashes to be required in order to load URLs. I can hardly find any documentation for SpringServlet in the Jersey project. :( It's likely that the SpringServlet doesn't respect the <welcome-file> entries in web.xml because accessing that information is not part of the servlet API. That isn't to say that the developers didn't parse web.xml themselves, but I doubt they did that: they would expect you to map only the appropriate URI patterns to SpringServlet. The examples I see are always of the form: <url-pattern>/something/*</url-pattern> ...which suggests to me that the REST portion of your webapp might be expected to be segregated from the rest of the webapp by a particular URL prefix. I think that's rather a good idea because then you know that all requests to /something/* will always be handled as REST calls and those outside of that pattern will be non-REST requests. Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuVErUACgkQ9CaO5/Lv0PBh0ACgpnoHFWxhAwCg+Utf7z1dTFkD qTwAn1s5QJai/K34ERDPxnoQi/V9e/sY =cMa3 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org