Howdy,
Just return; to exit the doGet method.  Believe me, I know the doGet
method returns void ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Teja Jo [mailto:[EMAIL PROTECTED]
>Sent: Thursday, December 18, 2003 11:17 PM
>To: Tomcat Users List
>Subject: RE: Further details - RequestDispatcher in servlet is not
working
>
>Hello,
>
>It is the doGet method of servlet - what will it return after the
forward
>call- its return type is void.Here after the forward call when I had
given
>a log message - that message got logged (the RequestDispatcher object
got
>is not null was proved since I printed that object address) - but the
>result of forwarded  url page did not reach the browser.The browser
>remained at the first page - which had begun the request procedure to
the
>servlet.
>
>Regards and thanks,
>Teja.
>
>
>
>"Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
>
>Howdy,
>
>>
>> //uptil this point it gets executed properly
>> strAddress = "/WEB-INF/internalJsp/ReceiveJsp.jsp";
>> RequestDispatcher objReqDispatcher =
>>request.getRequestDispatcher(strAddress);
>> objReqDispatcher.forward(request,response);
>>
>> Here request dispatcher is not working - it doesn't forward the
>request.
>
>What happens, then?
>
>Don't forget to return from your method above after the .forward call.
>
>Yoav Shapira
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged. This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else. If you are not the(an)
intended
>recipient, please immediately delete this e-mail from your computer
system
>and notify the sender. Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to