Hi,

Wich version of Websphere are you using? If you are working with version 3.0x you can use the RequestDispatcher available with Servlet API 2.1. Just replace your callPage by the following:

RequestDispatcher rd = this.getServletContext().getRequestDispatcher("/MyFile.jsp");
rd.forward(request,response);

David

sarfaraz wrote:

 Dear friedns,    we had developed our site, which was running on java servlets and jsp. we were using IBM websphere for servlets and jsp support.     Now we want to port our site on apache, and it's giving an CLASS CAST EXCEPTION in callpage method of ibm websphere .(its not giving the compilation error as i have given the classes of IBM websphere in the classpath)    what should be the best replacement for callpage method, or do you people have any other option ??? or is there any method to pass the request object to the jsp file.it will be very helpful to us if anybody of you can help us.thanks.sarfaraz.
begin:vcard
n:Bertrand;David
x-mozilla-html:FALSE
org:CGI Montreal
adr:;;1130, Sherbrooke Ouest;Montreal;Quebec;;Canada
version:2.1
email;internet:[EMAIL PROTECTED]
title:Conseiller Principal/Senior Consultant
tel;fax:(514) 841-3222
tel;work:(514) 841-3250 Ext. 5679
x-mozilla-cpt:;0
fn:David Bertrand
end:vcard

Reply via email to