Nic Wise wrote:

> On Wed, 12 May 1999, Christopher Cobb wrote:
> > You *can* do this in JavaScript.  I'm not an expert at this, but you can access 
>java classes from JavaScript.  Try this in your java script:
> >
> > System.err.println("This is a test.");
> >
> > Then look in your Java Console.  You have just invoked a method on a Java object.  
>You should be able to access your bean using the same JavaScript syntax:
> >
> > com.package.path.MyBean.method();
> >
>
> you would then have to download the com.mypackage.path.* classes onto the
> client, which kinda defeats the point, no?
>
> JSP is SERVER side, JavaScript is (generally) client side. Short of
> using CORBA/RMI/RDO/etc, there is no way to do this, and keep
> the beans on the server.

Duh.  Well, I said I wasn't an expert at this :)

cc

begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
tel;work:703-648-6725
x-mozilla-html:TRUE
org:Powerhouse Technologies, Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:SW Architect
fn:Christopher Cobb
end:vcard

Reply via email to