File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes  browser can't be loaded error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark " browser can Watch " browser can New topic
Author

browser can't be loaded error

Brian Snyder
Ranch Hand

Joined: Feb 03, 2001
Posts: 142
I have html, that calls servlet that from within calls an applet.
www.webappcabaret.com/snydb/user.html calls www.webappcabaret.com/snydb/servlet/ChatDispatch?name=bbb
that calls www.webappcabaret.com/snydb/servlet/HttpChatApplet
I get an error that www.webappcabaret.com/snydb/servlet/HttpChatApplet can't be loaded.
Here are the files where they are stored:
/snydb/user.html
/snydb/WEB-INF/classes/HttpChatApplet
/snydb/WEB-INF/classes/ChatDispatch
I also am including the snippets from user and ChatDispatch that create the URLs and the entire applet.
Thanks in advance. Many thanks.

Brian Snyder
Ranch Hand

Joined: Feb 03, 2001
Posts: 142
Help!!! Please!!!
Angela Lamb
Ranch Hand

Joined: Feb 22, 2001
Posts: 156
I don't think the HttpChatApplet class should be in the WEB-INF directory. That directory is just for servlet classes or normal classes that are included in your servlets/JSPs. Try putting the applet in the directory with your html file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: browser can't be loaded error