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?

Regards
Will

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

Reply via email to