wood burning stoves 2.0*
The moose likes JSP and the fly likes html:rewrite with a bundled message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "html:rewrite with a bundled message" Watch "html:rewrite with a bundled message" New topic
Author

html:rewrite with a bundled message

Alessandro Ilardo
Ranch Hand

Joined: Dec 23, 2005
Posts: 218
Hi there,
Using the internalizations features I'd like ti swich a Flash object matching the client language settings.

Using Struts I found useful rewrite the path in this way
<html:rewrite page='/flash/menu_EN.swf'/>

but that is static.
The path now is stored in the ApplicationResource file
nav.flashBanner=/flash/menu_EN.swf

Is there anyway to pass it as page attribute of the <html:rewrite> entry?

Thanks in advance


trying to decode a woman mind....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: html:rewrite with a bundled message