Also, are you accessing the app different
when using production mode? Pre-compiling or something?
I wasn't able to fix this. Is there any way to
configure a HTTP service with {context.root} in
flex-config.xml and production-mode = true? ( see
the
config below ).
If production mode=false the apps works, if set
the
production mode to true the app won't work. Keep
the
production mode = true and replace the
{context.root}
in the flex-config.xml with the
"myappcontext", the
application works.....
Very confusing.... Am I missing something?
Thanks,
Valy
--- Valy Sivec <[EMAIL PROTECTED]>
wrote:
>
> Hello,
>
> In a flex application I have defined a
servlet as
> HTTP service ( see the conf. below ). In case
the
> "production-mode" is set
>
> to false in the flex-config.xml everything
works
> fine. Wanted to change the production-mode
param to
> true, then I get an error
>
> "HTTP Service Fault". I woudn't
want to hardcode the
> context root in the flex-config file.
>
>
>
> production-mode= true and
>
> <service name="myService">
>
> <url>{context.root}/MyServlet</url>
>
> </service> Won't work.
>
> Any ideas?
>
> So production-mode = true and
>
> <service name="myService">
>
>
<url>/myappcontext/MyServlet</url>
>
> </service> works.
>
> Thanks,
>
> Valy
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Make Yahoo! your home page
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your
mobile phone.
http://mobile.yahoo.com/learn/mail
Yahoo! Groups Links
|