Looks to me like what he plans on doing is instead of connecting to the web
app using a broswer, one would use his swing application. In the web app
would be a struts app as normal that would interpret the request parameters
as normal etc... except that for his response instead of rendering html
using the struts tags he could render something his client understands (such
as xml - maybe leveraging the stxx tags).

Not bad. Wouldnt have to worry about browser incompatibilities that way, and
also if he later wants to support a normal browser, his actions would merely
forward to a jsp that renders normal html for those users. The action logic
would not need to change (much), just the way the response is rendered...

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 12:03
To: [EMAIL PROTECTED]
Subject: RE: Can V in MVC be Swing in Struts?


That doesn't matter.  Struts has to run inside a servlet container.  Struts
is a web only framework and Swing has plenty of components for building a
view.

David




>From: Xue-Feng Yang <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>[EMAIL PROTECTED]
>Subject: RE: Can V in MVC be Swing in Struts?
>Date: Wed, 16 Oct 2002 23:57:09 -0400 (EDT)
>
>The Swing app I mentioned talks to servlets via
>HTTP/HTTPS.
>
>  --- Andrew Hill <[EMAIL PROTECTED]>
>wrote: > Practically speaking no - as Struts is very
>much web
> > oriented and reliant on
> > a lot of the servlet container functionality (ie:
> > requests and responses,
> > etc...).
> >
> >
> > -----Original Message-----
> > From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 17, 2002 11:48
> > To: Struts Users Mailing List
> > Subject: Can V in MVC be Swing in Struts?
> >
> >
> > Can V in MVC be Swing in Struts?
> >
> >
>______________________________________________________________________
> > Post your free ad now! http://personals.yahoo.ca
> >
> > --
> > 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]>
> >
>
>______________________________________________________________________
>Post your free ad now! http://personals.yahoo.ca
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
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