Hi sanjay,
Absolute path is :
http://www.javaranch.com Relative path is
/cgi-bin/ubb/ultimatebb.cgi
Now for the requestdispatcher...
They works with paths relative to the context root.
As the one from the ServletContext is associated to a web application,it can
onlyhandle path relative to the context root.
On the other hand, the one from the ServletRequest is associated to a request, so the path specified can be relative to the current http request.
If the path begins with a "/", it is interpreted as relative to the context root. Otherwise, it is relative to the HTTP request
HTH
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community