You need to sign in to do that
Don't have an account?

How to upload Java Appet
Hi, guys.
I'm trying using java applet app in s-control but I can't.
"Null pointer exception" occurs when excuting the java applet :(
My questions are below.
1. where do I upload the class files? to document folder?
2. Is source code correct to describe java applet?
<html>
<applet code="Sample.class" codebase="{!Scontrol.JavaCodebase}" archive="{!Scontrol.JavaCodebase}{!Scontrol.JavaArchive}"
height="315" height="300">
</applet>
</html>
Does anybody know how to do it? Thank you very much in advnace!
I'm trying using java applet app in s-control but I can't.
"Null pointer exception" occurs when excuting the java applet :(
My questions are below.
1. where do I upload the class files? to document folder?
2. Is source code correct to describe java applet?
<html>
<applet code="Sample.class" codebase="{!Scontrol.JavaCodebase}" archive="{!Scontrol.JavaCodebase}{!Scontrol.JavaArchive}"
height="315" height="300">
</applet>
</html>
Does anybody know how to do it? Thank you very much in advnace!
BTW, does anybody use java applet for application?
Guess it's good b/c we can use java libraries (might be weight).
Once you have the file uploaded with your scontrol, you can use the appropriate merge fields to reference it via class or basepath or whatever embed properties need to be set.
java.lang.ClassNotFoundException: servlet.FileDownload?file=01N500000000ZxH
java.lang.ClassNotFoundException: servlet.FileDownload?file=01N500000000ZxH
----
How can the sfdc find out the ...java archive?