Can you please list where and all we can use absolute URI's.
Like .
1.response.sendRedirect(url)
-- can start with / or not .(but it should be a relative URL)
2.ServletContext.getRequestDispatcher("url").forward(req,resp);
-- Should start with / (Should be relative to webapp root)
3.HttpServletRequest.getRequestDispatcher("url").forward(req,resp);
-- can start with / or not .(but it should be relative to the request if
url doesnt start with /)
4.<c:import url="url" /> -- absolute url
5.<%@include file="page" %> --
can start with / or not (must be a Relative url for webapp if start with / or relative to the request)
6.<
jsp:include page="page" %> --
can start with / or not (must be a Relative url for webapp if start with / or relative to the request)
other things are there please add it into the list.
[ August 21, 2008: Message edited by: deepa raj ]