Since loadVariables is an internal flash call, I imagine the problem
will most likely be in flash, and not with JSPs.
What you can try is to reconfigure your mappings so that *.asp will be
treated as a JSP, and rename your JSP files to *.asp. If this works, it
means flash (or the flash host - IE or other flash runner) is doing some
extension processing and doesn't handle the jsp extension properly.
Another thing to check is that the HTTP headers written when using the
JSP solution is comparable to what the working CGI or ASP solution is
writing.
Good luck.
Calvin
On 23 Jul 2001 20:02:40 +0200, Philippe Dion wrote:
Hello!
I have a problem. A strange problem.
I'm new to struts tougth i have a strong programming background.
I wish to use flash with struts. What I want is to use the
loadVariables
function of flash. What this function do is to open a http connection
to the
server and read and process the stdout.(println in jsp). To do that i
connect
to a jsp file and pass variables in the http header (just as any
HTML form)
to the jsp. My problem is the jsp file redirect the swf to the jsp
and load
the jsp in place of the swf. Can you help? Are there a way to connect
and read
to the jsp script without reloading the page just as I can do with
ASP???
This trick work fine with ASP,CGI and other.
What I would do in CGI is to write a script reading the query string
and print out on the stdout. Without the swf to be reloading.
Thank for any help or for pointing me somewhere I can find a
solution!!
Pi Guy