We have a web application and are attempting to use the jZebra applet in a JSP page. When we run the page we get the following error: java.lang.ClassNotFoundException: jzebra.PrintApplet.classDetails:Running on Weblogic 10.3.2jzebra.jar located at: {project_home}/WebContent/HTML to implement:<applet name="jZebra" code="jzebra.PrintApplet.class" archive="./jzebra.jar" width="100" height="100"> <param name="printer" value="zebra"> </applet>Where should the jzebra.jar be located and what is the appropriate way to call it? Do we need additional steps for using in Weblogic. When clicking on the 'Find Printer' button, that's when the exception is thrown and we get an error that the FindPrinter method cannot be found.Any quick help would be appreciated.
archive="./jzebra.jar"
archive="{project_home}/WebContent/jzebra.jar"archive="../WebContent/jzebra.jar"
--
To unsubscribe from this group, send email to jzebra-users...@googlegroups.com
http://code.google.com/p/jzebra
Since we're using WebLogic and are creating the file ad-hoc, we cannot place the file in the same place as the jZebra.jar because it is inside of an .ear file
Hi Tres,
Thanks for your response. We were able to get that part working but have run into a new issue.
We are attempting to use the PrintFIle() function to print a job from a .txt file we're creating. We are getting an error when we call the function (Exeption occured: jzebra.PrintRaw.print() failed.). We assume this error is occurring because the function cannot see the text file to print it. Since we're using WebLogic and are creating the file ad-hoc, we cannot place the file in the same place as the jZebra.jar because it is inside of an .ear file. Our question is where should we be putting the file so that the PrintFile() function can access it?
We've tried placing the file in the following place unsuccessfully:
1) (Project home)
2) (Project home)/TestFolder
3) For testing purposes only, we tried placing the file inside the /WebContent folder inside the .ear (the same place as the jZebra.jar)
Again, thanks for your response and for any further help you can provide.
--
To unsubscribe from this group, send email to jzebra-users...@googlegroups.com
http://code.google.com/p/jzebra
--
To unsubscribe from this group, send email to jzebra-users...@googlegroups.com
http://code.google.com/p/jzebra
Tres,
We actually tried putting the alert in previously and got nothing which means (I assume) that it's not even getting inside the function for some reason. No idea why.
The project is on my work computer so I can't try it right now but I'll try that and get back to you. Thanks again for your help.
Sent from my Nexus 7