• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Catching a Class not Found Exception in Resin

 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im having a problem with typical morons on a web site clicking on the icons for AIM chat, beeper etc. when they dont have AIM installed on their machine. Because they dont have it installed the command aim?gochat is misinterpretted by the system as a call to a servlet (even though it has no /servlet/ in front of it). Since this isnt happening within in a servlet's code but is actually coming in as a HttpRequest Im not sure how to catch it. Is there some way to set up a default "catch???" somewhere in the system so I can show the user a page saying they have to first install the program before clicking on that link......Im stumpted, anybody got a great idea.........thanks much
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hum... I think I might create a servlet aim that's out put would be something like
"You don't have AIM installed click here to download"
 
DC Dalton
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought of that BUT, then I re-thought it. The system commands that are embedded & hence being called are this aim:addbuddy?screenname=, aim:goim?screenname= & aim:gochat?roomname=. So that will be the classes the servlet container will be looking for (prior to the ?, that is).one major problem here the : is an illegal character for a class name so that kind of puts a damper on that. I am going to try to set up a servlet mapping in the resin.conf but I dont think that is going to work.
 
reply
    Bookmark Topic Watch Topic
  • New Topic