> -----Original Message----- > From: Leandro Melo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 2:50 PM > To: struts jakarta > Subject: Importing context with Struts > > > Suppose i got scattered pieces of code, wich includes > a lot of Struts tags. > These pieces are separate files, and i need to accesss > some struts attributes (or beans) from these other > files for each request. > > A nice example would be the html: error tag. In my > case, it's located outside of the file that contains > the submitted form, and i need to get the errors from > these other file (where the html: error tag is > located). That's why i need to import struts contexts > so i can get it done. > > Is there a way to do that?
Are all these pages being displayed at the same time? In that case all vars are probalby in request scope, if not session. Other then that... I don't think so. I do much the same thing, using tiles to tie it all together for display and have no trouble accessing anything in session or request.. never tried page scope though..... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]