The flashgateway.jar is no longer shipped with Flex. In Flex 2, all
services are based on a messaging framework - as such, clients can talk
to endpoints on various channels using various protocols, some of which
may not be over HTTP.

The server side APIs all start with flex.messaging. The class you're
looking for is flex.messaging.FlexContext. In the event that you are
using an HTTP based channel (such as the AMFChannel which uses AMF
formatted messages over HTTP), you can get hold of the current
HttpServletRequest as follows:

    HttpServletRequest req =
flex.messaging.FlexContext.getHttpRequest();

This will, however, require you to add flex-messaging.jar to the
classpath when compiling.


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of niladri_gupta
Sent: Monday, June 05, 2006 7:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HttpServletRequest on AMF

Hi

I have been able to establish a remote(AMF) connection using Flex 2.0 on
Websphere.

Is there a way to get a handle on the current HttpServletRequest
instance on the remote class? I know we need to use
flashgateway.Gateway.getHttpRequest() for the same, but how does one get
the instance of flashgateway to work with?

Thanks, Niladri








------------------------ Yahoo! Groups Sponsor --------------------~-->
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to