I am running into a problem with the welcome file list.

I have mapped an extension to be ran through a particular servlet like
this:

  <servlet-mapping>
    <servlet-name>dispatch</servlet-name>
    <url-pattern>*.ojsp</url-pattern>
  </servlet-mapping>

and defined 'dispatch' with all necessary parameters.

I have defined the welcom-file list like this:

     <welcome-file-list>
          <welcome-file>index.ojsp</welcome-file>
     </welcome-file-list>

When accessing http://localhost/portal, I get a 403 error, directory
browsing not allowed.

If I access http://localhost/portal/index.ojsp, it works fine.  Can you add
a mapped extension as a default page?

James Birchfield

Ironmax
a better way to buy, sell and rent construction equipment
5 Corporate Center
9960 Corporate Campus Drive,
Suite 2000
Louisville, KY 40223


Reply via email to