This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "sending data from flex to jsp" Watch "sending data from flex to jsp" New topic
Author

sending data from flex to jsp

Marcos Gonzalez
Greenhorn

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!
 
Consider Paul's rocket mass heater.
 
subject: sending data from flex to jsp