didn't got , as i am a fresher to this FLEX 2.0 , i designed
the UI part in flex, but when i click the submit button it has to
forward to the JSP page to check against the valid user,password ,
so how to forward the page to jsp(i mean from flex to jsp) , if u
can suggest me with an example, it will be easy for me,
thanks for ur speedy reply, hopping to get the solution for
assuming that you have <mx:TextInput id="username" />
and <mx:TextInput id="password" /> components.
Your Submit button then does: authorize.send()
(note: you can also pass the request parameters in the send()
method - check the Flex docs on HTTPService).
Flex will listen for the response from your JSP. Typically a
JSP would respond with an HTML page, but you don't want to do that
for Flex. Your JSP should produce either a simple string ("yes" or
"no" or "error" etc) or an XML document.
The handleResult method can examine the response and do