• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Applet problem on Tomcat 4

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiya,
I have recently ported my app from tomcat 3.2.3 to tomcat 4.0.3. I have an applet on my site who's codebase is in a jar held in web-inf/lib. This was fine under 3.2.3 but now wont work under 4.0.3. I know that tomcat refuses to let a browser access web-inf and meta-inf directories but is that also true of applet jars?? Im getting a 403 error from the JRE..
any help very much appreciated. What is the standard location in your webapp you should use for applet codebases?
mike
 
Saloon Keeper
Posts: 28319
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's a difference between code executed ON the server (in the WEB-INF subtree) and code downloaded FROM the server (applet jars).
Put the applet jar in with the JSPs &co. As far as Tomcat's concerned, if it doesn't get executed on the server, it's data.
 
Mike Br
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks tim - i take it theres no j2ee spec for applet code as such then like there is for server-side.
thanks again,
mike
 
What is that? Is that a mongol hoarde? Can we fend them off with this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic