Am Donnerstag 18 Oktober 2007 schrieb Christopher Schultz:
> Peter,
>
> > This next method call is the problem. I am sending a POST request from
> > one servlet instance to another one. But in situations with high load,
> > all 20 instances are busy, so the ActiveRoleRemoval.sendLogoutMessages
> > method which sends the POST request blocks because there is no other
> > instance/thread to process the request.
> > Is this quite possible or nonsense?
>
> What if you use a RequestDispatcher.forward() instead of doing your own
> POST? Is that an option? The current thread is always available ;)
>
> -chris
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Hi cris, 

how does this RequestDispatcher.forward() work? I would have to generate a new 
HttpServletRequest and Response myself and send it to my Servlet URL, how 
could this be done? Is it guaranteed to be received by the same servlet 
instance?

br,
Peter

-- 
Peter Bauer
APUS Software G.m.b.H.
A-8074 Raaba, Bahnhofstrasse 1/1
Email: [EMAIL PROTECTED]
Tel: +43 316 401629 24
Fax: +43 316 401629 9

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to