Can't set context to / in Tomcat 8.0.20

2015-03-19 Thread Thusitha Thilina Dayaratne
Hi, I'm in the process of migrating to a embedded tomcat 7.0.59 application to tomcat 8.0.20. In the application i'm setting the context as */* This works fine in tomcat 7 But in Tomcat 8 when I set the context as */*, internally it is set as . Is this a bug in Tomcat 8? Thanks Best Regards

Re: Can't set context to / in Tomcat 8.0.20

2015-03-19 Thread Thusitha Thilina Dayaratne
Hi All, Prior to Tomcat 7.0.58, we are able to set the context as /. In the code it will go to else part and set the context without any issues. public void setPath(String path) { if (path == null || (!path.equals() !path.startsWith(/))) { this.path = / + path;

Re: Can't set context to / in Tomcat 8.0.20

2015-03-19 Thread Mark Thomas
Do NOT cross-post questions to the users list and the dev list. All this does is annoy the very people you are relying on to take time out of whatever else they are doing to help you. If you aren't sure where to ask, user the users list. On 19/03/2015 11:50, Thusitha Thilina Dayaratne wrote: Hi