Hi,
I came across the same problem and my solution was to build my own class (in my case i had to build such class anyway since i wanted the forward and include actions to search for the best mach to the locale of the client - for multilingual support).
My class behaves differently on 3 situations: a URL that Java doesn't support; a URL that reference a JSP page in the same server as my redirector servlet (or the servlet that called it); and other URLs that are supported by Java.
In the last scenario i simply used response.sendRedirect. In the first case i created an HTML page that has a refresh tag on it (this way moving the URL problem to the browser).
And in the JSP case i used WebSphere's callPage method. the call is similar to:
((HttpServiceResponse)response).callPage ("/test.jsp");
Hope this helps. And if you find a more elegant solution (within WebSphere's scope) please tell me.
lee
Visual Age for Java 2.0 implements Servlets 2.0. There is no "forward" there. How can I use a servlet as a controller. Does IBM have their own class to do that?
Can I replace the JAR file containing servlet API with a new one?
Please help me out with this. I can not move to version 3.0 because I need support for EJB and professional version does not have it yet.
Thanks in advance,
Andrzej
Lee Elenbaas.vcf