homepage Welcome to WebmasterWorld Guest from 107.21.163.227
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Problem with passing url's for URLRequest() class in Flash
SrihariCh




msg:3974815
 7:21 am on Aug 19, 2009 (gmt 0)

Hi all,

I am new to Flash. I am calling java servlets from flash using the following code[below is a sample Flash code for calling a java servlet in Flash which I am using]:

String url_String="http://localhost:8080/servlet/getViews";
var req:URLRequest = new URLRequest(url_String);

In this case, the servlet is called/working fine in my system where the flash application is deployed & not working when I execute the application in different system using the "IPAddress" of my system.

So, What changes I need to make in above Flash code in order to call the same servlet successfully from my system and as well as other systems?
--------------------------------------------------------
(OR)

Is there any need to pass the servlet-url's relative instead of absolute?
If so,
Can we pass relative-path of url's to URLRequest() as parameter? &&
Can anyone explain me with an example?

Please, can anyone help me by giving solution to my problem... [Or else to either of my queries or both]
Thanks in advance...
I am waiting for your replies...

Srihari.Ch

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved