I try to get url data using jsp, for that i used jsp code as
String Url = pageContext.getServletConfig().getInitParameter(\"url\").toString(); out.println
It's generally accepted that in JSP we should to use EL rather than scriptlet. So this version with EL in JSP file:
<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %> Using of initParam ${LANDING_DEFAULT_URL}"
${LANDING_DEFAULT_URL}"
and web.xml:
LANDING_DEFAULT_URL https://xxx.xxx.xxx.com/