urlRequest to java servlet via a "?q=..." url?

Hi,
I was wondering if any one ever had to make this work:

I got a .jsp page that contains a flex app wich is replacing the old ajax version.

When it was ajax, the url of the xmlHTTPRequest was :
“?q=surveillance/personnel/”+urlChunk+"/ajoutattribut/"

And it was working well, as the server receives these parameters in the proper context (http location) which look like this :
"http://localhost:8080/SuiteDelphin/ServletDelphin/?q=surveillance/personnel/tout/modifier"

So basicly, the servlet ServletDelphin just receive the ?q= and do the right thing.

But with the urlLoader, it doesnt do that. Im a bit confused about what it does actually, since if I use url like those in the urlsRequest object :
“?q=surveillance/personnel/”+urlChunk+"/ajoutattribut/"
or
http://localhost:8080/SuiteDelphin/ServletDelphin/?q=surveillance/personnel/"+urlChunk+"/ajoutattribut/
or
“SuiteDelphin/ServletDelphin/?q=surveillance/personnel/”+urlChunk+"/ajoutattribut/"

The loader returns an HTTPStatus of 0 in firefox, so url not found. In IE7 it is a status of 200. But for both browser the resulting data is the html of the .jsp containing the flash… and the servlet never gets a call of course.

So fo course the best way for me to do the call is the original way (no changes on the server…) or anything that doesnt have localhost in it since it isnt going to be published as a localhost app (duh!..).

If anyone has a clue on how this could work, or simply keywords that could describe the kind of url im using : “?q=…” in a better way than relative url or that could point to new leads, it would be greatly appreciated.

Thank you in advance.

P.s. sinc this is a flex 3 app, I know I could deploy it as a j2ee server side technology project, but I avent figured how this works and thought the as3 way I knew of would be easier… if you think this is false, please convince me !

P.s.s. And Also, I listen to Ioerrors and security errors and none are popped.