Re: Re: Is Struts suitable for Java client?

2002-08-29 Thread Troy Hart
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 a

Re: Re: Is Struts suitable for Java client?

2002-08-29 Thread Troy Hart
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. One of the cool features that struts provides in this endeavor is an automatic mapping of the request parameters into forms that can

Re: Re: Is Struts suitable for Java client?

2002-08-29 Thread Tom Klaasen
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 c

Re: Is Struts suitable for Java client?

2002-08-28 Thread thart
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 i

Re: Is Struts suitable for Java client?

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Leslie Yu wrote: > Date: Wed, 14 Aug 2002 14:49:33 -0700 > From: Leslie Yu <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Is Struts sui

RE: Is Struts suitable for Java client?

2002-08-13 Thread Jason Chaffee
Use Resin... :) -Original Message- From: Leslie Yu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 3:09 PM To: Struts Users Mailing List Subject: Re: Is Struts suitable for Java client? I'm using WebSphere Application Server 4.0.x which only supports J2EE1.2. As I

Re: Is Struts suitable for Java client?

2002-08-13 Thread Leslie Yu
" <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 11:54 PM Subject: RE: Is Struts suitable for Java client? Probably the best thing to do would be to use a filter. The filter could handle the serialized object and do any preprocessing that the controller servlet would need. -

RE: Is Struts suitable for Java client?

2002-08-13 Thread Jason Chaffee
Mailing List Subject: Re: Is Struts suitable for Java client? Hi all, Thank you so much for your replies. I have one more question about the java client and server communication in Struts. Can I send serialized object from java client to the controller servlet? After studying the Struts

Re: Is Struts suitable for Java client?

2002-08-13 Thread Leslie Yu
ject: Re: Is Struts suitable for Java client? > > > On Wed, 14 Aug 2002, John Yu wrote: > > > Date: Wed, 14 Aug 2002 12:25:02 +0800 > > From: John Yu <[EMAIL PROTECTED]> > > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > > To: Struts Use

Re: Is Struts suitable for Java client?

2002-08-13 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, John Yu wrote: > Date: Wed, 14 Aug 2002 12:25:02 +0800 > From: John Yu <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Is Struts suitable fo

Re: Is Struts suitable for Java client?

2002-08-13 Thread John Yu
You can return binary data from the Actions. In the action's perform()/execute(), instead of returning a forward mapping, what you can do is: * Set the correct content type and header by calling response.setContentType() and setHeader() * Get the output stream from response.getOutputStr

RE: Is Struts suitable for Java client?

2002-08-12 Thread Gopalakrishnan Rangaswamy
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 se