On Tue, Dec 2, 2008 at 7:41 PM, tuckker <[EMAIL PROTECTED]> wrote:
>
> How do I redirect all subfolders/files to the root of the link domain.com?

If it's all one context, add something like this to your web.xml:

        <servlet>
                <servlet-name>whatever</servlet-name>
                <jsp-file>/index.jsp</jsp-file>
        </servlet>
        <servlet-mapping>
                <servlet-name>whatever</servlet-name>
                <url-pattern>/*</url-pattern>
        </servlet-mapping>
        
:: and of course, make sure there aren't other mappings that would
override that with higher specificity :-)

HTH!
-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

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

Reply via email to