All;

I've Goggled, and searched this list, but can't get a
workable solution.  I was handed a struts webapp,
which is now deployed as ROOT.war

Now I'd like to get rid of the "home.do" that comes
up when the root of the site is loaded,
e.g.:  http://www.foo.org/home.do

I've tried an  index.jsp with:
    <jsp:forward page="/home.do" />

And in WEB-INF/web.xml, placing:
    <welcome-file-list>
       <welcome-file>home.do</welcome-file>
    </welcome-file-list>

And in my apache httpd.conf:
    <VirtualHost 69.59.XXX.7X:80>
        Redirect   /  /home.do
    </VirtualHost>

And in resin.conf:
    <war-dir id='/vol0/deployed/ccs_website/webapps'/>
    <web-app id='/' app-dir='/vol0/deployed/blah/ROOT'>
    </web-app>

And even played with getting rid of .do totally with:
     <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
    </servlet-mapping>


Clearly I'm flailing.

The "home.do" comes up both when the site is initially
loaded, and when an internal link goes back to the
home page.  "home.do", and in fact the entire ".do"
extensions are undesirable.  We don't want people
linking to our website, using a reference to a
specific server technology which will probably change.

        Bryce Nesbitt

-- 
----
Visit http://www.obviously.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to