在问我的问题之前,请允许我解释一下情况。
CONTEXT:
I have a web app created in both Flex and Java using LiveCycle Data Services.
The application runs on a Tomcat server.
Let s assume that the context root of the app is /myApp. When loading server:port/myApp, Tomcat loads myApp.html, which is a wrapper for the application.
REQUIREMENTS: In order to load the application in different languages, I need the swf to read some flashvars to set the loading language and other sutff. The loading language should be set depending on the url.
WHAT I D LIKE TO DO BUT DO NOT KNOW HOW TO:
I think that I should have different html wrappers for the swf, so that each html wrapper passes different flashvars to the swf. But not having to deploy a war for each language.
The deployed war should then contain myAppFR.html, myAppEN.html, myAppJP.html... Each wrapper pointing to the same swf but passing different flashvars.
I d like server:port/myAPP/FR to load myAppFR.html, server:port/myApp/EN should load myAppEN.html, and so on.
I don t know if I m being clear enough. It s not too clear in my head cause I do not really know how to do it, or if it s even possible!
因此,如果需要,请提供更多细节,并感到可以免费给您提供:
感谢很多。
(PS:I m not a Java pro, so,如果可能的话,则更为详细。)