Yes, this is still valid. What are you using a client-side menu in your
server-side application for? If you want a menu, you'd send it as textual
data, which Swing isn't designed for. If you want an applet, use it. If you
want JSP, use it - and remember that JSP generates textual data.
>Hi there,
>
>I was wondering whether it is possible to include a swing object in a JSP.
>I've got a java bean which utilises Swing's JMenuBar. In my JSP, I use:
><jsp:useBean id="myMenu" class="foo.SwingMenu" scope="application" />
>
>But when I run the JSP, I receive a java.lang.NullPointerException error.
>
>I came across an email in the list of JSP archived information at
>http://archives.java.sun.com/cgi-bin/wa?A2=ind9909&L=jsp-interest&P=R45842
>which says that this method is not possible because "the bean ... sits on
>the
>Server side and ... it is not possible to download the Bean onto the client
>for GUI". Is this still valid with recent revisions to J2EE technologies?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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