Re: [flexcoders] Re: Calling Java Servlet

2005-03-25 Thread Harris Reynolds
The fact that RemoteObject uses a servlet is an implementation detail. You can see that it is by looking at the [FLEX_APP]/WEB-INF/web.xml file in your Flex application. It is the servlet named AMFGatewayServlet. With regard to your problem, depending on how your code is factored, you may be

RE: [flexcoders] Re: Calling Java Servlet

2005-03-25 Thread Cathy Murphy
Libby - I think this is possible but haven't tried it myself. Here's some information which should set you down the right path. Good luck! I've seen examples for the Flex 1.0 session servlet [Replaced in Flex 1.5 with new session access but not relevant to this discussion.]

RE: [flexcoders] Re: Calling Java Servlet

2005-03-25 Thread Peter Farland
Hi Libby, You can invoke a servlet, but it's really a deprecated method of contacting the server from Flash Remoting. It's not a preferred method as the servicename.functioname() invocation isn't as straight forward as a plain old java object classname.methodname() idea. For a servlet

Re: [flexcoders] Re: Calling Java Servlet

2005-03-24 Thread Harris Reynolds
Libby, It is definitely possible to invoke a servlet from Flex b/c I have done it successfully. If you invoke a custom servlet though, the burden is on you to return data in a format that Flex can understand. I guess I am wondering why you want to invoke a custom servlet; it seems like you