• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flex and jsp communication

 
Devendra Thomare
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I am new to Flex and making web application using Flex since impressed from flex Rich UI

but the problem is

1. I make a request from browser it goes to servlet and from there to my jsp page
2. in my jsp page i have embedded .swf file as below

<div id="Tia">
<!-- Original HTML table here-->
</div>
var so = new SWFObject("Myform.swf", "Tia", "800", "800", "8", "#336699");
so.write("Tia");

3. now i am able to show this flex UI
4. from flex UI i click on one of the button and it goes to my servlet again
i did that using
<mx:HTTPService id="service" url="http://localhost:8084/FTPApplication/flexpage" result="resultHandler(event)" fault="faultHandler(event)" method="GET" showBusyCursor="true" resultFormat="text">

Here problem is control again comes to my callback function resultHandler

is there any way that response from servlet will go to different jsp .?
 
Dinesh Kumar Durairaj
Greenhorn
Posts: 5
Java jQuery Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this API ExternalInterface. You can use it to call java script communicate with Actionscript and vice versa
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic