Hello Everyone, 

I am a brand new user; only subscribed about 15 minutes ago.

My team is doing some preliminary investigations into the use of struts for rendering jsp-based browser pages.  I took a close look at the struts-template sample application, and we are okay with setting our template header and sections using put and get statements.  However, we have added an extra dimension to it in which we actually pick up different template headers depending on our user's locale, and then we define specific template file names in resource bundle properties files.

Based on our structure, we need to do a VARIABLE (or properties key) SUBSTITUTION, as follows:

<template:insert template='<bean:message key="templateName.JSP"/>' />

Or variable substitution as follows:
<template:insert template='<%= somePreviouslyDefinedVariableName %>' />

We do the same for puts and gets, etc, thereby nesting bean tags in template tags.  We have of course include the struts-bean.tld file in our taglib declarations, as well as defined our Resource Application parameter in web.xml. Tomcat squeaks when we perform this variable substitution or nested tags.

Is this allowed?  Can anyone please give us directions, recommendations as to how to go about substitution in struts tags generally?  

Thanks a lot!

Rose Joshua
Information and Computing / eBusiness Unit
Shell Canada Limited
Calgary, Alberta. 
Telephone:  (403)-691-4527
email: <rose.joshua@shell.ca>