> -----Original Message-----
> From: Carlos A. Carnero Delgado [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 10, 2004 8:10 AM
> To: Struts Users Mailing List
> Subject: Random data on every page?
> 
> 
> Hello,
> 
> I'm new to Struts and learning new things by the hour :) I've managed
> to create a simple database CRUD application and all is well.
> 
> What I'd like to do now is to have a random piece of text, taken from
> the database, to be displayed on (almost) all the pages from my app.
> What's the best way to do that?
> 
> I know that it'd go nicely with the tiles plugin (in fact, the text
> will actually go in a sidebar,) but I still don't want to go to tiles
> yet. In the past, I managed to do that by loading a bean, and I could
> do that again, but I'm not sure where to do that with Struts.)

Same way... or with struts, however you want to invoke a url to prepare a jsp page 
with the appropriate data.  It's easier in struts, but you could work something out 
with <c:import probably.

> 
> Thanks,
> Carlos.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to