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.
- How do I get the requested page from the Request Object? Jason Johnston
- Re: How do I get the requested page from the Request O... Bill Barker
- RE: How do I get the requested page from the Request O... Turner, John
- How do I get the requested page from the Request Objec... Jason Johnston
- RE: How do I get the requested page from the Request O... Cox, Charlie
- RE: How do I get the requested page from the Request O... Jason Johnston
- RE: How do I get the requested page from the Request O... Turner, John