Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7868991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:10:16+00:00 2026-06-03T01:10:16+00:00

I have an application migrated from flex 3 to Flex 4. I haven’t changed

  • 0

I have an application migrated from flex 3 to Flex 4.
I haven’t changed anything in the functionality of the code. I call struts actions using a HTTPService:

var service:HTTPService = new HTTPService();
service.url=  "someAction.do"
service.send(params);

The problem is that when I’m using the flex 3 swf generated by flash builder 3, there is no problem, the action is sent like I want it to, to the url /someUrl

localhost:8080/someurl/someAction.do

If I use flex 4 swf in the same situation, in the same war archive. The only thing I change is the swf , the url will also contain the path of the swf which causes a problem

localhost:8080/someurl/path/to/swf/someAction.do

Anyone knows what might be causing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T01:10:19+00:00Added an answer on June 3, 2026 at 1:10 am

    The documentation for the rootURL property suggests that this is intended behavior for Flex 4:

    …, the relative URL is computed automatically based on the location of the SWF running this application. …

    A possible solution would be to use the rootURL property, though that requires also using the Flex server proxy which might introduce other problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have migrated a Web Application from MyEclipse to Eclipse WTP, and I am
We have recently migrated a large, high demand web application to Tomcat 5.5 from
I have a moderately complex application using POJOs, and now come to migrated it
I recently migrated an older application we have at work from Java 1.5 to
I have migrated an application from Tomcat to Glassfish in order to take advantage
Our application is being migrated from WebForms to MVC. We have a different manner
My application is throwing this error after I have migrated from GWTP 0.6 to
I just migrated my django application from sqlite3 to mysql 5.1.41. I have a
I have an application that we're trying to migrate to 64bit from 32bit. It's
I have migrated one ASP.NET v4.0 application to a new server running under a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.