First, this is really a question for the User list. This list is for discussion of the development of Struts itself. Please follow up on that list rather than here.
Second, you haven't actually said whether you're trying to use Struts 1 or Struts 2. Joe has provided the answer for S1; Musachy has provided the answer for S2. If you read a little bit more of the corresponding documentation, you will see that either way, the solution to your problem is simple. -- Martin Cooper On 1/24/07, einundswanzig <[EMAIL PROTECTED]> wrote:
einundswanzig wrote: > > Im new in Struts, in fact im pretty new in Java, but i have programmed for > Coldfusion, C#/VB and Flex. Im trying to connect to a J2EE server with > Struts on it using Flex. Flex is able to call a java component on the > server and execute a method and then serialize the result and deserialize > it in an Actionscript(scripting language of flex) object. In my imaginary > app Flex will provide the View, so im trying to find a way to enable > Struts to serve just a result without a JSP or HTML page, i just want the > result. Oh god this is confusing.... > Sorry, may be i am unable to explain what i want to do, so i will enter in some details. What i understand is that when a request to a Struts-enabled app, the request is passed to the controller, the controller then create some kind of object based on the request and then send that to the "handler" then the handler do whatever it should and then send a result (forwardsomehing is called) back to the controller which at the end render a page. What i want to do its avoiding the controller render that page, and just sent back "the result", for example an object, a bean to be consumed by flex...Just like if you were calling a function, since Flex is able to serialize java objects and deserialize them into actionscript objects. I mean, im trying to enable Struts to serve to different clients, for example Flex or an applet... -- View this message in context: http://www.nabble.com/Struts-service-facade-tf3078810.html#a8563271 Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]