I Think the reason being that the java class being a server object is not
visible to the VM in the browser which is on the client machine, hence the
Classpath cannot be set and so as a result used. but if u could clarify as
to why you need it, people here I am sure will give some suggestions.

but you could use and applet with a width and height of 1 :) and use that
applet instance in ur java script, but an applet does have its
restrictions....

clarification on requirement, required...

hope that helps.
Amit


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of TANIASANROMAN@telelineb
Sent: Saturday, September 07, 2002 12:49 AM
To: [EMAIL PROTECTED]
Subject: A doubt on use Java within JavaScript: object javaObject of
JavaScript.


I would like create an object of any class written in Java for me, within
JavaScript, but the sentence:
var= new< Package>.< Class> ()    inside a JavaScript code

, which it create an object javaObject in JavaScript, only it operate me if<
Package> it is a Package included in the JSDK.

May be it is a trivial question, but even so, does somebody can to advise
me?


Thank you


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/02

=========================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to