I know it's an FAQ faux pau to ask if anyone has any source code on this; but I'm extremely interested in implementing this very thing -- a Flex2 RFC File Upload posting to HttpService (and later to a transacted J2EE with Flex2 Enterprise Server).
We almost need all to get involved in a threaded discussion board so we can create more persistent discussions on a given area with "sticky" posts that include good exemplars of Flex2 et. al.
-r
Dave Wolf <[EMAIL PROTECTED]> wrote:
You can't post to an MXML file directly because the mxml compiling
filter doesnt implement the post method.
Create a JSP page that dynamically builds the object embed tag based
on the posted parameters. Place the posted parameters as parameters
in the embed tag which the swf (yes precompile the mxml into swf) can
then read.
--
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com
Email: [EMAIL PROTECTED]
Office: 866-CYNERGY
--- In [email protected], Paulo Roberto Cunha Brandão
<[EMAIL PROTECTED]> wrote:
>
> Good evening for all.
> I have a system in JSP and needs to call a new window in another
application in Flex, passing the HTTP Post parameters.
>
> When I done the Post call by HTML, passing the necessary parameters,
it's show me the error: "It's not a valid application".
>
> If I done the same call using HTTP Get to send the parameters, the
error doesn't happen.
>
> Somebody can help me about this problem?
>
> 16:44:26,173 ERROR
[StandardWrapper[/atribuicaodocente:FlexMxmlServlet]]
Servlet.service() for servlet FlexMxmlServlet threw exception
> javax.servlet.ServletException: Post not supported by this filter.
> at
flex.server.j2ee.cache.CacheFilter.doFilter(CacheFilter.java:176)
> at
flex.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:66)
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at
flex.server.j2ee.DetectionFilter.doFilter(DetectionFilter.java:95)
> at
flex.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:66)
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter..java:75)
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve..java:213)
> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve..java:178)
> at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
> at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
> at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
> at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
> at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
> at java.lang.Thread.run(Thread.java:534)
>
>
>
>
>
>
>
>
>
>
>
>
>
> Paulo Roberto Cunha Brandão
> Analista de Desenvolvimento de Sistemas
> Diretoria de Tecnologia e Informação
> Instituto Metodista de Ensino Superior
> * <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> ( (0**11) 4366-5086
>
Yahoo! FareChase - Search multiple travel sites in one click.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

