Originally posted by Sam Bluesman:
OK. Let me start again.
Here is the code (slightly updated than before)
This is the html applet tag:
<applet code="org.me.Program" archive="HelloApplet2.jar"/>
The output of the Java console is:
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I have the layout extensions library containing the jDesktop library in the libraries directory of the Web Application (shown when using the Project view) and I also have it as part of the Libraries directory of the project I initally created the applet in.
[ October 01, 2007: Message edited by: Sam Bluesman ]
[ October 01, 2007: Message edited by: Ulf Dittmer ]
Originally posted by Bear Bibeault:
On the client or server? Do you know how you would validate a single such entry? What code have you written so far?
Originally posted by Jose Campana:
Hello Fellow Ranchers,
I'm having an issue with knowing how class access works when classes are in different packages.
The question I have is:
If I have an interface in one package(app.pack1), and that interface is public:
And I have a class that implements the Interface in another package(app.pack2).
Why do I have to import it(import app.pack1.MyInterface...) If the interface is public?
Could someone please explain to me these basics about packages?
Thank in advance,
Originally posted by Ulf Dittmer:
The Servlet FAQ links to articles explaining the differences between Servlet API versions. It also links to the SpecificationUrls page that has links to all kinds of specifications.
"static variables are not saved during serilazation "
means is it just like a transient ?