Re: [Htmlparser-user] Importing jar files in applets?
Brought to you by:
derrickoswald
From: Derrick O. <Der...@Ro...> - 2006-05-03 10:55:37
|
You have bigger problems than that. The security model of the sandbox will prohibit the parser from looking at any pages that are outside of it's site. But assuming you know what you are doing, parsing either strings or streams.... Package up your applet and the classes extracted from htmlparser.jar into another big jar and point the archive attribute in your applet tag to the aggregate jar. Riaz uddin wrote: > Hi, > I am really stuck with this, > I have a program StringExtract.java which uses HTMLParser and it works > fine, I am trying to bring the output of this program to the webpage > through an applet. > > In order to do this, I am trying to instantiate StringExtract in the > applet class(sumdisplay), it is something like this: > > > StringExtract yahoosum = new StringExtract(); > > But the applet cannot be instantiated and it displays the following > error along with other errors: > > java.lang.NoClassDefFoundError: org/htmlparser/util/NodeIterator > > > How can solve this problem, please help. > > > > <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> |