On Thu, 2002-08-29 at 12:28, Troy Hart wrote:
> IMHO the value of the struts framework has more to do with providing a
> set of "actions" that invoke business processes in the request/response
> (ie servlet) paradigm. 

To clarify, I DO NOT mean to imply that the business processes know
anything about the request/response.

Troy

> One of the cool features that struts provides in
> this endeavor is an automatic mapping of the request parameters into
> forms that can be declaratively associated with a given action...maybe
> I'm wrong, it wouldn't be the first time :(
> 
> Anyway, I was just trying to give Leslie a better answer than an
> emphatic NO, which didn't seem right to me based on my interpretation of
> her question.
> 
> Regards,
> 
> Troy
> 
> 
> 
> On Thu, 2002-08-29 at 02:37, Tom Klaasen wrote:
> > 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]>
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to