-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

You can configure JSSI to handle you jhtml extension. Then
add index.jhtml to your DirectoryIndex directive in apache
config. Now to do what you need to do you have to have something
like following in your index.jhtml:

<SERVLET code="WhateverClassYouWant.class">
<SERVLET>

On Thu, 30 Sep 1999, Niral Trivedi wrote:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
> 
> Hello all..
> 
> I want to map particular directory or file to a servlet.. how can I do
> that?? I have read the FAQs and in that I have found a way to map file
> extension to Servlet using 'ApJServAction' module... but how do u map a
> filename itself??
> 
> For example, I have created a Servlet which I want to put as an index
> page when somebody hits my home page... i.e. if say somebody tries
> http://www.myserver.com then instead of static 'index.html' page which
> will be the document root, i want a servlet to display the page... So,
> is there any way to do this??? basically i want to map an html page to a
> servlet...
> 
> Any help or suggestions are appreciated..
> 
> Thanks..
> 
> Niral
> -- 
> Regards...
> ****************************************************
> Niral K. Trivedi, Planet Access Network Inc.
> Email : [EMAIL PROTECTED]
> Phone : 973-691-4704 x134
> 
> 
> --
> --------------------------------------------------------------
> 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]
> 
> 



--
--------------------------------------------------------------
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]

Reply via email to