Hi there,

Say I'm using a context root value "MyApp" when compiling my LCDS-based
Flex application. I package everything into an archive called
"MyApp.war", depoly it on my Tomcat, startup tomcat, access the
application using http://localhost:8080/MyApp
<http://localhost:8080/MyApp> , everything works fine (I have an
index.html there that serves up the SWF)

Now, if I want to deploy using a different context root for my
application (say "MyApp1")... call it using the URL
http://localhost:8080/MyApp <http://localhost:8080/MyApp1> 1 ... nothing
would work this time. The SWF still gets loaded, and that's it. It seems
this context-root value that's set in flex_config.xml gets somehow burnt
in the SWF? what can I do to have the app running under a different
context root, without the need to rebuild the SWF?

Also, a question: why this context-root configuration is required in
Flex environment? An application normally auto-detects it's context root
at runtime. An application is usually untied from a specific context
root and can be deployed using any context root.

Thanks, Robert

Reply via email to