You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ed <ed...@jsq.co.uk> on 2000/06/26 18:56:21 UTC

Adding Handlers

Okay, a little background is required methinks.

I have written my own scripting langauge that is interpreted by a servlet.  I used to run ApacheJServ, which allowed me to use the following simple command:

ApJServAction .jsqml UkPageServer

Then using  HttpServletRequest.getPathTranslated() I can get access to the page that was attempting to being served, load it in and then parse the sucker.

However, I wanted to extend the system with functionality only available in servlets 2.2, so I have downloaded and installed tomcat.  ( which was a nightmare because I was running blackdown's linux port on RH6.1 and it caused some nasty 'Interrupted System Call' exceptions )

So, all this 'web-application' structure is all new and scary, I was wondering how easy it is going to be to add a handler so that I get the same kind of functionality that was available in ApacheJServ.

Many thanks and kind regards.
Ed.