wood burning stoves 2.0
The moose likes Flex and the fly likes Flex - Single URL throughout the application.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex - Single URL throughout the application.." Watch "Flex - Single URL throughout the application.." New topic

Flex - Single URL throughout the application..

Santhosh Venkatesan

Joined: Mar 28, 2009
Posts: 9
I've been working on Flex with Java for quite sometime, very much impressed by Flex components and the actionscript language itself.. The applications which i develop through flex are having a single URL(of my main mxml file) throughout all screens of the application. For a banking site or any such secured applications may be happy with this.. But for some applications we allow the clients to make use of the browser's bookmark feature for getting into some important drilled down segment of the application easily without coming through the steps every time..
Please tell me whether this could be done through a flex application..

Your comments also can make me learn something..

SCJP - 1.5
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302


GenRocket - Experts at Building Test Data
Santhosh Venkatesan

Joined: Mar 28, 2009
Posts: 9
Thanks Greg!. Also had a look here which made my job pretty easy..
Devendra Thomare

Joined: Dec 13, 2008
Posts: 15
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-->
var so = new SWFObject("Myform.swf", "Tia", "800", "800", "8", "#336699");

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 .?

I agree. Here's the link: http://aspose.com/file-tools
subject: Flex - Single URL throughout the application..
It's not a secret anymore!