>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
servlets path.. look into
this ..u may find something helpful..)
Regards,
Basu.
- Original Message -
From: "Teja Jo" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 19, 2003 9:47 AM
Subject: RE: Further details - Req
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) - bu
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
out if not forwading. Another way is increasing the buffer size of out.
Antony Paul.
- Original Message -
From: "Teja Jo" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 9:57 AM
Subject: Re: RequestDisp
y Paul
- Original Message -
From: "Teja Jo"
To:
Sent: Thursday, December 18, 2003 9:27 AM
Subject: RequestDispatcher in servlet is not working
> Hello everyone,
>
> My servlet after processing something from the HttpServletRequest received
by it - is supposed to
You can call forward() before the response is committed. I seems that it is
throwing IllegalStateException.
Antony Paul
- Original Message -
From: "Teja Jo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 9:27 AM
Subject: RequestDispat
Hello everyone,
wrt the need for actual code - I am sending this code which is executed by doGet
method of my servlet :
String temp = request.getParameter("abc");
if( temp.equals("xyz"))
{
//do some processing ...
}
//uptil this point it gets executed properly
strAd
Request dispatcher is working fine for me.
Can you send some code and a description of your environment?
On Wednesday 17 December 2003 10:57 pm, you wrote:
> Hello everyone,
>
> My servlet after processing something from the HttpServletRequest received
> by it - is supposed to forward the requ
Hello everyone,
My servlet after processing something from the HttpServletRequest received by it - is
supposed to forward the request using RequestDispatcher - but it is not doing so.(Only
when directly forwarded without doing any initial processing with the request - it
gets forwarded).Pleas
10 matches
Mail list logo