Declare you the Turbine servlet to have a path like index.htm or something.
Then set the web app's welcome-file-list to have index.htm in it. Or if
you had the welcome-file attribute set to index.vm it would probably work
without the extra url mapping.
For example,
<servlet-mapping>
<url-pattern>/index.htm</url-pattern>
<servlet-name>turbine</servlet-name>
</servlet-mapping>
<session-config>
</session-config>
<mime-mapping>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
Thanks,
Donald Bell
IBM Knowledge & Content Management
Phone (314) 469-5891
Mobile (314) 566-0637 <--- New Mobile Number
piero de
salvia To: [EMAIL PROTECTED]
<piergi@yahoo. cc:
com> Subject: mapping turbine to whole site
09/20/2001
02:55 PM
Please respond
to
turbine-user
hi all,
I am trying to map Turbine to my whole site:
<servlet-mapping>
<url-pattern>/*.vm</url-pattern>
<servlet-name>turbine</servlet-name>
</servlet-mapping>
but that doesn't take care of main index:
http://www.mysite.com/
if i do this:
<servlet-mapping>
<url-pattern>/</url-pattern>
<servlet-name>turbine</servlet-name>
</servlet-mapping>
my site's images (/img/xxx.jpg) get "shadowed" by the
servlet and don't come thru.
any ideas?
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]