tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Schnack <feli...@ritterdosreis.br>
Subject RE: requestdispatcher
Date Fri, 24 Jan 2003 18:00:11 GMT
  Sorry you all, I was doing something very very stupid, it's working
now :-((

On Fri, 2003-01-24 at 15:55, Mike Jackson wrote:
> I'll assume that you're doing something like this:
> 
> 	response.setAttribute( "ATTR", new Object() );
> 	RequestDispatcher d = response.getRequestDispatcher( "/test.jsp" );
> 	d.forward( request, response );
> 
> If it's something like that the attribute should be available
> in the page you've dispatched to.  If my little example doesn't
> help, post a snippet and I'm sure an expert can help...
> 
> --mikej
> -=-----
> mike jackson
> mjackson@cdi-hq.com
> 
> > -----Original Message-----
> > From: Felipe Schnack [mailto:felipes@ritterdosreis.br]
> > Sent: Friday, January 24, 2003 6:43 AM
> > To: Tomcat Users List
> > Subject: requestdispatcher
> >
> >
> >   Hey guys...
> >   i'm doing something wrong or if when you set an request attribute and
> > then do a RequestDispatcher.forward() you lost your new attribute?
> > --
> >
> > Felipe Schnack
> > Analista de Sistemas
> > felipes@ritterdosreis.br
> > Cel.: (51)91287530
> > Linux Counter #281893
> >
> > Centro Universitário Ritter dos Reis
> > http://www.ritterdosreis.br
> > ritter@ritterdosreis.br
> > Fone/Fax.: (51)32303341
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
-- 

Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
ritter@ritterdosreis.br
Fone/Fax.: (51)32303341


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message