We have a prototype that we are using that uses Struts as the framework. We have a JTree applet that is displayed as part of the view component. This way we get to use an Explorer-type interface with the power of the JTree Swing component. The tags to implement a tree pane was pretty ugly on our first attempt. The applet approach made everything much cleaner. We have a set of classes to populate the tree model for the applet.
Jim Berg Sr. Software Specialist PSCI 610-270-4158 [EMAIL PROTECTED] "Xue-Feng Yang" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" 17-Oct-2002 00:19 Please respond to cc: "Struts Users Mailing Subject: RE: Can V in MVC be Swing in Struts? List" <[EMAIL PROTECTED] pache.org> JSP is interpreted into a servlet in a servlet container such as Tomcat. So JSP should work on this. Servlet is not only designed for HTML browser, so is JSP. I will try it and believe this should work! --- David Graham <[EMAIL PROTECTED]> wrote: > I think you're trying to force technologies into > areas they weren't designed > for. What would the JSP do if it didn't have HTML > in it? JSP's main job is > displaying dynamic html. Swing for client apps, > Struts for webapps. > > 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: Thu, 17 Oct 2002 00:08:36 -0400 (EDT) > > > >The response could be a String, an XML, a HTML or a > >HexString. > > > >I am wondering if I can make a JSP without HTML > tags. > >If this is the case, then the thing can be done. So > >far, I use servlet to do this. It would be nice if > I > >can built on Struts. > > > >--- Andrew Hill <[EMAIL PROTECTED]> > >wrote: > > > Ah well in that case yes, I dont see why not. > > > Didnt think of that scenario! > > > > > > What sort of response would you be returning to > this > > > swing client? xml? > > > > > > -----Original Message----- > > > From: Xue-Feng Yang [mailto:just4look@;yahoo.com] > > > Sent: Thursday, October 17, 2002 11:57 > > > To: Struts Users Mailing List; > > > [EMAIL PROTECTED] > > > Subject: RE: Can V in MVC be Swing in Struts? > > > > > > > > > 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:just4look@;yahoo.com] > > > > 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:struts-user-unsubscribe@;jakarta.apache.org> > > > > For additional commands, e-mail: > > > > <mailto:struts-user-help@;jakarta.apache.org> > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > > > > > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > > > > For additional commands, e-mail: > > > > <mailto:struts-user-help@;jakarta.apache.org> > > > > > > > > > > > >______________________________________________________________________ > > > Post your free ad now! http://personals.yahoo.ca > > > > > > -- > > > To unsubscribe, e-mail: > > > > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > > > For additional commands, e-mail: > > > <mailto:struts-user-help@;jakarta.apache.org> > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > > > For additional commands, e-mail: > > > <mailto:struts-user-help@;jakarta.apache.org> > > > > > > > > >______________________________________________________________________ > >Post your free ad now! http://personals.yahoo.ca > > > >-- > >To unsubscribe, e-mail: > ><mailto:struts-user-unsubscribe@;jakarta.apache.org> > >For additional commands, e-mail: > ><mailto:struts-user-help@;jakarta.apache.org> > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:struts-user-help@;jakarta.apache.org> > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -- To unsubscribe, e-mail: < mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: < mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>