A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
returning value from servlet
Raj Kumar Bindal
Ranch Hand
Joined: Apr 15, 2006
Posts: 409
posted
Jan 05, 2009 08:21:18
0
I am calling a
servlet
from flex.Need to get some value in flex that servlet is having.How can i do that.
I think servlet can't return any value.But, is there any way that i can get it done.
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56183
13
I like...
posted
Jan 05, 2009 08:22:26
0
Servlets
return response, not values.
If you need to return a value, you probably shouldn't be using a servlet.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
2
I like...
posted
Jan 05, 2009 08:33:29
0
Well I don't know the details of flex too much. But why don't you set the value in the session and access it from flex??
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
|
SCWCD Links
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: returning value from servlet
Similar Threads
session in distributed web application
Help me in send redirct
WSAD Load on startup
getting TOMCAT_HOME inside servlet
responsexml in javascript using ajax
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter