I have a application by the name (say ) SR.DEV.1.001.war . The builds will change as might have thought already to SR.DEV.1.001 ..004 and so on . However, the jsp's inside have links like DS/admin or DS/user .
I have checked online for a few resources so as to help me , like here , here and here
After trying them out, Im still having the same issue . I tried in context.xml in META-INF
01) <?xml version="1.0" encoding="UTF-8"?>
<Context docBase="/SR.DEV.1.001.war" path="" reloadable="true" />
02) <?xml version="1.0" encoding="UTF-8"?>
<Context docBase="/SR.DEV.1.001.war" path="/" reloadable="true" />
03) <?xml version="1.0" encoding="UTF-8"?>
<Context docBase="/" path="/DS" reloadable="true" />
04) <?xml version="1.0" encoding="UTF-8"?>
<Context docBase="" path="/DS" reloadable="true" />
Please help me fix the issue , as without which , its difficult for me to manage the versions of the war , without affecting the context .
If it helps, I also have a redirect.jsp which is loaded as welcome file in web.xml.
redirect.jsp :
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%response.sendRedirect("/DS/pdui/show.do"); %>
Thanks in advance .