tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart Locanthi <>
Subject re: sendRedirect(), also jikes
Date Fri, 14 Jul 2000 23:27:47 GMT
nfi on sendRedirect(url) vs setHeader("location", url). i'm trying to
decide whether to try 3.2b2 or not. i'm using a build as of a couple
weeks ago.

btw i finally discovered why i couldn't get it to use jikes.

1) conf/web.xml is never read. ever.
2) webapps/<context>/WEB-INF/web.xml has the goods
	if you make a copy from conf/web.xml, you also need to fix the
	specification of jsp servlet's full name, eg
3) specifying a compilerPath, as below, also breaks the use of jikes
4) in light of (1), from *where* does tomcat get default values?
5) the first time a .jsp is compiled, jikes or no, it takes a very long
	independent of whether the jit is enabled or not. why?

> Date: Fri, 14 Jul 2000 18:14:58 +0200
> To:
> From: GOMEZ Henri <>
> Subject: RE: sendRedirect()
> Message-ID: <361024C34A6DD2118689006097AE2B4D69C7FA@css4.cs>
> We got something like this when using request dispatcher.
> include (lDispatcher.include( pReq, pResp )) didn't send the JSESSION
> COOKIE.=20
> We have to use instead forward (lDispatcher.forward( pReq, pResp )).
> Any idea why ? Or did it is a bug corrected in 3.2 ?
> > i had an issue with sendRedirect() that i traced to it not sending the
> > session cookie with the redirection.
> > 
> > when i replaced sendRedirect() by setHeader("location", url), it worked.

View raw message