addding '/' in the path
This commit is contained in:
parent
e2f9b075fa
commit
93d189b0ed
|
@ -185,7 +185,7 @@ public class WekeoResolver {
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Produces({MediaType.TEXT_HTML})
|
@Produces({MediaType.TEXT_HTML})
|
||||||
@Path("")
|
@Path("/")
|
||||||
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException{
|
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException{
|
||||||
|
|
||||||
String indexFile = "/WEB-INF/jsp/wekeo.jsp";
|
String indexFile = "/WEB-INF/jsp/wekeo.jsp";
|
||||||
|
@ -198,7 +198,7 @@ public class WekeoResolver {
|
||||||
|
|
||||||
if(!(e instanceof WebApplicationException)){
|
if(!(e instanceof WebApplicationException)){
|
||||||
//UNEXPECTED EXCEPTION managing it as 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);
|
throw ExceptionManager.internalErrorException(req, error, this.getClass(), null);
|
||||||
}
|
}
|
||||||
//ALREADY MANAGED AS WebApplicationException
|
//ALREADY MANAGED AS WebApplicationException
|
||||||
|
|
Loading…
Reference in New Issue