Makes you wonder what the advantage of using struts might be then. Struts is a framework for mapping html form fields to bean properties (yeah, I know, there's a lot of other stuff in it, but if this wasn't in there, nobody would be using struts).
"Hey, I found a nice hammer, let's slice this cheese real thin!" tomK ------------------------ "Struts Users Mailing List" <[EMAIL PROTECTED]> wrote: ------------------------ >I'm not sure the answer is no. Struts is not tied to forwarding to a jsp, or >any other type of resource for that matter. In fact you can simply return >null from an action and have the action generate the response itself. You >may need to think about your problem a little differently (???), but if you >write a client that understands the servlet request/response paradigm then >you should be able to engineer a solution that uses the struts framework for >the server side... > >Good Luck, > >Troy > > > >Gopalakrishnan Rangaswamy writes: > >> NO >> >> -----Original Message----- >> From: Leslie Yu [mailto:[EMAIL PROTECTED]] >> Sent: Tuesday, August 13, 2002 10:39 AM >> To: [EMAIL PROTECTED] >> Subject: Is Struts suitable for Java client? >> >> >> Hi all, >> >> I'm going to develop a java application with java client on client >> side >> which talks to a controller servlet. The data transmitted between client >> and >> server may be serialized object. >> Does Struts support java client by outputting a serialized object as >> a >> HTTP response instead of forwarding to a JSP? If yes, would anyone give >> me >> some hints? Thanks. >> >> Best Regards, >> Leslie >> >> >> -- >> To unsubscribe, e-mail: >> >> For additional commands, e-mail: >> >> >> >> -- >> To unsubscribe, e-mail: >> For additional commands, e-mail: >> > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>