Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 71832 invoked from network); 5 Apr 2009 23:52:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2009 23:52:00 -0000 Received: (qmail 44325 invoked by uid 500); 5 Apr 2009 23:51:58 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 44216 invoked by uid 500); 5 Apr 2009 23:51:58 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 44205 invoked by uid 99); 5 Apr 2009 23:51:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 23:51:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO aurora.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 23:51:49 +0000 Received: from aurora.apache.org (localhost [127.0.0.1]) by aurora.apache.org (8.13.8+Sun/8.13.8) with ESMTP id n35NpTst021486 for ; Sun, 5 Apr 2009 23:51:29 GMT Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: dev@tomcat.apache.org Date: Sun, 05 Apr 2009 23:51:29 -0000 Message-ID: <20090405235129.21458.57586@aurora.apache.org> Subject: [Tomcat Wiki] Trivial Update of "FAQ/Miscellaneous" by ChuckCaldarale X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The following page has been changed by ChuckCaldarale: http://wiki.apache.org/tomcat/FAQ/Miscellaneous The comment on the change is: Fixing typos. ------------------------------------------------------------------------------ 1. [#Q16 Why do I get java.lang.IllegalStateException ?] 1. [#Q17 How do I make a scheduled event on Tomcat?] 1. [#Q18 What is Element "web-app" does not allow "servlet" here?] - 1. [#Q19 How do open a file for reading in my webapp?] + 1. [#Q19 How do I open a file for reading in my webapp?] 1. [#Q20 Can I run tomcat with the JRE, or do I need the full JDK?] 1. [#Q21 Is tomcat an EJB server? Can I use EJBs with tomcat?] 1. [#Q22 Can I access Tomcat's JNDI provider from outside tomcat?] @@ -31, +31 @@ 1. [#Q25 Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!] 1. [#Q26 How do I debug JSP errors in the Admin web application?] 1. [#Q27 What order do webapps start (or How can I change startup order)?] - 1. [#Q28 What's the different between a Valve and Filter? + 1. [#Q28 What's the different between a Valve and Filter?] == Answers == [[Anchor(Q1)]]'''I am unable to compile my JSP!''' @@ -252, +252 @@ 6. If you haven't already, define an admin user in %CATALINA_HOME%\conf\tomcat-users.xml. 7. Start Tomcat, navigate to http://localhost:8080 (or your actual server:port if you have modified the default values), and access the admin web application. It will run slower because Tomcat is now compiling the JSPs on-demand the first time you access them, but should otherwise appear normal. - [[Anchor(Q27)]]'''What order do webapps start (or How can I change startup order)?''' + [[Anchor(Q27)]]'''What order do webapps start (or how can I change startup order)?''' There is no expected startup order. Neither the Servlet spec nor Tomcat define one. You can't rely on the apps starting in any particular order. [[Anchor(Q28)]]'''What's the different between a Valve and Filter?''' - A Filter lives in the webapp space and it's behavior is defined by the Servlet spec. It will work across all Servlet containers. + A Filter lives in the webapp space and its behavior is defined by the Servlet spec. It will work across all Servlet containers. A Valve can do everything a Filter can do but is Tomcat specific, and potentially not portable across Tomcat versions. A Valve can be executed earlier in the lifecycle of a request, access Tomcat internals, and do other "interesting" decorations to your webapp in the chance you cannot change your deployed webapp. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org