Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

browser can't be loaded error

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help!!! Please!!!
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic