Thanks a lot.  I'll go ahead and take that approach.  Though I started
with the following example from a book.
.
.
.
String URI = request.getServletPath();
if(URI.equalgnoreCase("/index.html"))
         forwardTo ="/index.jsp";
else {
 
          forwardTo="/article.jsp";
          request.setAttribute("includepage",URI);
}
 
.
.
.
It then goes on to call the request dispatcher and forward to the
forwardTo.  Does this actually work for anyone.  On my machine,
getServletPath() never returns that part of the URL.
 


Reply via email to