----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi Folks,
I am running Apache v1.3.11, BlackDown Jdk v1.2.2 rc4, Jsdk v2.0 and
JServ v1.1 on Linux v2.2.13 kernel
I am trying to set up a simple content handler and have the following in
the .htaccess file in the appropriate directory:
Action MyContent /servlets/Mycontent
AddHandler MyContent html
What puzzles me is that within the servlet doGet (or doPost) the call to
the request object getContentType method always returns NULL. Assuming
the target of the URL exists and has the .html extension should not this
call return a non NULL value?
Any hints/ideas?
Kind regards,
Simon
--
Simon Heaton
Principal Technical Consultant
Software AG UK Ltd.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]