addding '/' in the path

This commit is contained in:
Francesco Mangiacrapa 2021-04-08 12:28:30 +02:00
parent e2f9b075fa
commit 93d189b0ed
1 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ public class WekeoResolver {
@GET
@Produces({MediaType.TEXT_HTML})
@Path("")
@Path("/")
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException{
String indexFile = "/WEB-INF/jsp/wekeo.jsp";
@ -198,7 +198,7 @@ public class WekeoResolver {
if(!(e instanceof WebApplicationException)){
//UNEXPECTED EXCEPTION managing it as WebApplicationException
String error = "Index.jsp not found. Please, contact the support!";
String error = "wekeo.jsp not found. Please, contact the support!";
throw ExceptionManager.internalErrorException(req, error, this.getClass(), null);
}
//ALREADY MANAGED AS WebApplicationException