Re: AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck

Ok thanks.

Ralph Einfeldt wrote:

That's what the spec says. 

(It works for me in tc 4.0.3)

  

-Ursprüngliche Nachricht-
Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 8. Oktober 2002 09:13
An: Tomcat Users List
Betreff: Re: AW: AW: Forwarding in servlets.

So I just do this ?

RequestDispatcher dispatcher =
request.getRequestDispatcher(/test.jsp?blah=bleh) ;
if (dispatcher!=null) {
 dispatcher.forward(request, response) ;
}





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


  




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread sonam singh

u can also use response.sendRedirect( url);
regards
Sonam 
--- Kwok Peng Tuck [EMAIL PROTECTED] wrote:
 Ok thanks.
 
 Ralph Einfeldt wrote:
 
 That's what the spec says. 
 
 (It works for me in tc 4.0.3)
 
   
 
 -Ursprüngliche Nachricht-
 Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 8. Oktober 2002 09:13
 An: Tomcat Users List
 Betreff: Re: AW: AW: Forwarding in servlets.
 
 So I just do this ?
 
 RequestDispatcher dispatcher =

request.getRequestDispatcher(/test.jsp?blah=bleh)
 ;
 if (dispatcher!=null) {
  dispatcher.forward(request,
 response) ;
 }
 
 
 
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
   
 
 
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]