A Frontend application name comes from the Servlet Context's display name (display-name tag in the web.xml). It is retrieved by calling servletObj.getServletContext().getServletContextName().
If the value returned is not Null, i.e., display name is set, this value is used as the Frontend application name.
If the value is Null, i.e., display name is not set or an exception is thrown in the servletObj.getServletContext().getServletContextName() call, the Context Path is used as the Frontend application name. The Context Path is retrieved by calling httpServletRequestObj. getContextPath().
This may sometime return "myapp" (context display name) or at other times "/myapp " (context path)
You can avoid "/" in front of Frontend application name by setting display-element in web.xml