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
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.
subject: Catching a Class not Found Exception in Resin