wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark " browser can Watch " browser can New topic

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:
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.
It is sorta covered in the JavaRanch Style Guide.
subject: browser can't be loaded error
Similar Threads
Http Connection Get
Trouble with an Applet Exception.
Http GET
How to make a repetitive URLConnection ?
Applet -Servlet connection in JNLP