You don't even need to use Javascript, just generate the current view of the
tree every time in HTML. The downside is that you need to send a request to
the server every time the user expands or collapses a node in the tree to do
this.

Petr

> -----Original Message-----
> From: Russell, Richard (DEH) [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 19, 2000 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: SWING FWATURES IN JSP
>
>
> figure it out in HTML or JavaScript (for a dynamic tree...), and then
> generate it with JSP... I'm no expert in any of those three... :)
>
> rr
>
> > -----Original Message-----
> > From: Marco M [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 19, 2000 4:48 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: SWING FWATURES IN JSP
> >
> >
> > Hi Richard,
> >         yeah...i forgot about it..
> > so can u suggest me how to build a Tree in a JSP without
> > using applet??
> > thanx in advance & br
> >         marco
> >
> > > -----Original Message-----
> > > From: EXT Russell, Richard (DEH) [mailto:[EMAIL PROTECTED]]
> > > Sent: 19. May 2000 9:53
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: SWING FWATURES IN JSP
> > >
> > >
> > > not possible. Think about it. JSPs serve up HTML. Have you
> > > tried putting a
> > > JTree in a HTML page without an applet? Kinda hard, eh? JTree
> > > is a Java
> > > class that runs on the client and displays on the
> client's display.
> > > Therefore, it needs to run on the client's box, and the only
> > > two ways to do
> > > this are with an Applet or and Application... If you want to
> > > embed it into a
> > > web page, you need an Applet... This really should be quite
> > > obvious, once
> > > you know what JSPs are.
> > >
> > > rr
> > >
> > > > -----Original Message-----
> > > > From: Marco M [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, May 19, 2000 4:00 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: SWING FWATURES IN JSP
> > > >
> > > >
> > > > Hi
> > > >         i am interested also....
> > > > but my specific need is to put a JTree into a JSP WITHOUT
> > > > using an applet..
> > > > is it possible??
> > > > can someone give me some advices??
> > > > thanx in advance and regards
> > > >         marco
> > > >
> > > > > -----Original Message-----
> > > > > From: EXT arthur alexander [mailto:[EMAIL PROTECTED]]
> > > > > Sent: 19. May 2000 7:43
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Re: SWING FWATURES IN JSP
> > > > >
> > > > >
> > > > > Please browse the SUN Java Swing site.
> > > > >
> > > > > http://java.sun.com/products/jfc/index.html
> > > > >   and
> > > > > http://java.sun.com/products/jfc/tsc/index.html
> > > > >
> > > > > There is a little thing called the Java Plug-In component.
> > > > > If you wish to use JDK 1.2 or above in a browser
> > > > > environment ( Navigator or IE ), the plug-in is what you need.
> > > > >
> > > > > It comes in two flavors, one for IE, and one for Navigator.
> > > > >
> > > > > Replaces the Browsers native JVM for the instance of the
> > > > > running applet in the specific browser page loaded with a
> > > > > reference to it and the main class to load.
> > > > >
> > > > > More to learn, please follow the links . . .
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Biren <[EMAIL PROTECTED]>
> > > > > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > > > > Date: Thursday, May 18, 2000 11:15 PM
> > > > > Subject: SWING FWATURES IN JSP
> > > > >
> > > > >
> > > > > >Hi all,
> > > > > >Can I use Swing Features in JSP?.
> > > > > >If not How can I use JoptionPane of Swing in JSP.
> > > > > >My question is If I face any problems in validating data in
> > > > > user defined
> > > > > screen,How can i
> > > > > >show all errors in Message Box or like JoptionPane in the
> > > > > user's screen.
> > > > > >Hope someone will answer my question.
> > > > > >Biren
> > > > > >
> > > > > >
> > > > > >
> > > > > >Download NeoPlanet at http://www.neoplanet.com
> > > > > >
> > > > > >=============================================================
> > > > > ==============
> > > > > >To unsubscribe: mailto [EMAIL PROTECTED] with
> > body: "signoff
> > > > > JSP-INTEREST".
> > > > > >Some relevant FAQs on JSP/Servlets can be found at:
> > > > > >
> > > > > > http://java.sun.com/products/jsp/faq.html
> > > > > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > > > >
> > > > >
> > > > > ==============================================================
> > > > > =============
> > > > > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > > > > "signoff JSP-INTEREST".
> > > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > > >
> > > >  http://java.sun.com/products/jsp/faq.html
> > > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > >
> > > > ==============================================================
> > > > =============
> > > > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > > > "signoff JSP-INTEREST".
> > > > Some relevant FAQs on JSP/Servlets can be found at:
> > > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> > > ==============================================================
> > > =============
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > > "signoff JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> > ==============================================================
> > =============
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to