File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Flex and the fly likes sending data from flex to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "sending data from flex to jsp" Watch "sending data from flex to jsp" New topic

sending data from flex to jsp

Marcos Gonzalez

Joined: Mar 22, 2010
Posts: 1
Hi, first of all sorry for my english...I'll try my best.

I'm trying to develop a simple login flex application which retrives two parameters (user and password) and send them to a jsp which should print them on the navigator (it's for testing purpose, later it would be more complex...if I achieve this works)

I'm using HTTPService to send the data once the user press the button, but in the jsp the values of the request's parameters are always "null" and i've tried with lots of different ways i found on the web and no one has worked. I make a POST request in the HTTPService which, according to HTTP Server Monitor from netBeans, has the correct values as parameters, but I think I'm missing something...probably a key point because i'm starting with this stuff.

Here is the flex application code:

This is the jsp code:

finally, this is the code of the jsp where is integrated the flex application (don't think this is the prolem but who knows...)

Any help should be fine

Thanks in advance!
I agree. Here's the link:
subject: sending data from flex to jsp
jQuery in Action, 3rd edition