Return-Path: Delivered-To: apmail-click-dev-archive@www.apache.org Received: (qmail 32427 invoked from network); 3 Mar 2010 18:43:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 18:43:04 -0000 Received: (qmail 9435 invoked by uid 500); 3 Mar 2010 18:42:56 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 9421 invoked by uid 500); 3 Mar 2010 18:42:56 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 9412 invoked by uid 99); 3 Mar 2010 18:42:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 18:42:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 18:42:55 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9C8B6234C4BB for ; Wed, 3 Mar 2010 18:42:31 +0000 (UTC) Message-ID: <1215530141.41881267641751639.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Mar 2010 18:42:31 +0000 (UTC) From: "Adrian A. (JIRA)" To: dev@click.apache.org Subject: [jira] Assigned: (CLK-258) How To Use Click Page As Default Welcome Page in Tomcat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLK-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian A. reassigned CLK-258: ----------------------------- Assignee: Adrian A. (was: Malcolm Edgar) > How To Use Click Page As Default Welcome Page in Tomcat > ------------------------------------------------------- > > Key: CLK-258 > URL: https://issues.apache.org/jira/browse/CLK-258 > Project: Click > Issue Type: Improvement > Components: documentation > Reporter: Joel Schmidt > Assignee: Adrian A. > Priority: Minor > > Tomcat (and perhaps other servlet containers (such as JBoss, which embeds Tomcat) does not dispatch URL's in the welcome-file-list to a servlet, even if there is a servlet-mapping which matches the URL. Thus, Click pages don't work properly as a welcome page, unless a little something extra is done. The simplest solution is to use a jsp that directs to the Click page as the welcome-file. > In web.xml: > > /welcome-redirect.jsp > > > In welcome-redirect.jsp: > <%@ page language="java" contentType="text/html; charset=UTF-8" %> > <%@ page isThreadSafe="true" isErrorPage="false" session="false" %> > <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.