if you can use tiles, usend the TileControllerClass you can include-on-the-fly any file specified in a variable.
----- Original Message ----- From: "Pani R" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 5:05 PM Subject: <bean:message> in <%include> not working > Hi All: > > When I use <%@ include file='<bean:message key="test.file">' %>, > the <bean> tag doesn't seem to pull the corresponding resource from the App.Resource file. Instead, its looking for a file "<bean:message...." and spitting out an error saying File Not Found. Am I missing any fundamental stuff here? > > I tried using <jsp:include file=...>. Also, tried various combination of single and double quotes. But nada. It picks the file name as such in '' > > I'm sure I'm including the correponding TLD (struts-beans) in the page. > > I appreciate any help. > > Thanks, > Pani > > > > ____________________________________________________________ > Find what you are looking for with the Lycos Yellow Pages > http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 > > --------------------------------------------------------------------- > 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]