struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ALAMI Ahmed - BOR <Ahmed.AL...@sema.fr>
Subject RE: Struts and EJBs ----alami
Date Fri, 12 Oct 2001 14:03:33 GMT
Hello

	I have a list that i stored in the request under the name "results"
and i want to display its contents in a jsp file using the logic:iterate
struts
the result is a bean .

Can u tell me how to use this tag please?
Ahmed ALAMI
Stagiaire
 

8, rue Gustave Hertz - 33600 Pessac
* 05.57.89.00.36 *06.17.23.26.61 * 05.56.36.64.71
* aalami@slb.com



-----Message d'origine-----
De : Tom Klaasen (TeleRelay) [mailto:tom.klaasen@telerelay.com]
Envoyé : vendredi 12 octobre 2001 15:44
À : struts-user@jakarta.apache.org
Objet : RE: Struts and EJBs ----alami


have a look at
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletReque
st.html to the method setAttribute()...

hth,
tomK


> -----Original Message-----
> From: ALAMI Ahmed - BOR [mailto:Ahmed.ALAMI@sema.fr] 
> Sent: vrijdag 12 oktober 2001 15:44
> To: struts-user@jakarta.apache.org
> Subject: RE: Struts and EJBs ----alami
> 
> 
> Hello everyone
> How de i store an object in a request attribute?
> Thanks
> 
> Ahmed ALAMI
> Stagiaire
>  
> 
> 8, rue Gustave Hertz - 33600 Pessac
> * 05.57.89.00.36 *06.17.23.26.61 * 05.56.36.64.71
> * aalami@slb.com
> 
> 
> 
> -----Message d'origine-----
> De : Renzo Toma [mailto:renzo.toma@xs4all.nl]
> Envoyé : vendredi 12 octobre 2001 12:37
> À : struts-user@jakarta.apache.org
> Objet : RE: Struts and EJBs ----alami
> 
> 
> 
> 2 ways:
> 
> The Struts way: create an Action that read data from your 
> rdbms, creates
> beans and store a list of beans in a request attribute. 
> Iterate over the
> beans in your JSP and display the bean properties.
> 
> The Other way: get a sql taglib and stick to JSP.
> 
> YMMV 
> 
> 
> Renzo
> 
> 
> > Hello everyone
> > 	I want to integrate in my application a jsp that 
> presents the result
> > of a query to my database in a type of list.
> > I ask if someone has already done this kind of action to 
> send his code to
> > have an idea of the use of the components of Struts
> > 
> > Thanks
> > 
> > Ahmed ALAMI
> > Stagiaire
> >  
> > 
> > 8, rue Gustave Hertz - 33600 Pessac
> > * 05.57.89.00.36 *06.17.23.26.61 * 05.56.36.64.71
> > * aalami@slb.com
> > 
> > 
> > 
> > 
> 

Mime
View raw message