Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck
Is there any way besides the following : request.setAttribute(selectedScreen, request.getServletPath()) ; RequestDispatcher dispatcher = request.getRequestDispatcher(/test.jsp) ; if (dispatcher!=null) { dispatcher.forward(request, response) ; }

AW: Forwarding in servlets.

2002-10-08 Thread Ralph Einfeldt
, the response to the initial request is created by the given servlet/jsp. This is transparent to the client. -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 8. Oktober 2002 08:42 An: [EMAIL PROTECTED] Betreff: Forwarding in servlets

Re: AW: Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck
to the client. -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 8. Oktober 2002 08:42 An: [EMAIL PROTECTED] Betreff: Forwarding in servlets. RequestDispatcher dispatcher = request.getRequestDispatcher(/test.jsp) ; if (dispatcher

AW: AW: Forwarding in servlets.

2002-10-08 Thread Ralph Einfeldt
: Forwarding in servlets. Thanks, so the question now would be like this. With the dispatcher.forward() method, is it possible to POST data instead of tacking parameters at the end of test.jsp ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: AW: AW: Forwarding in servlets.

2002-10-08 Thread Kwok Peng Tuck
to the request. At this point this has nothing to do with GET or POST. -Ursprüngliche Nachricht- Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 8. Oktober 2002 08:56 An: Tomcat Users List Betreff: Re: AW: Forwarding in servlets. Thanks, so the question now would

AW: AW: AW: Forwarding in servlets.

2002-10-08 Thread Ralph Einfeldt
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

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

RE: Forwarding in servlets.

2002-10-08 Thread Sexton, George
Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Sent: 08 October, 2002 12:42 AM To: [EMAIL PROTECTED] Subject: Forwarding in servlets. Is there any way besides the following : request.setAttribute(selectedScreen, request.getServletPath()) ; RequestDispatcher dispatcher

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

2002-10-08 Thread sonam singh
]] 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