Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 10352 invoked from network); 27 Oct 2007 04:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2007 04:19:29 -0000 Received: (qmail 99613 invoked by uid 500); 27 Oct 2007 04:19:06 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 99291 invoked by uid 500); 27 Oct 2007 04:19:05 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 99269 invoked by uid 99); 27 Oct 2007 04:19:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 21:19:05 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.13.128.172] (HELO outmail128172.authsmtp.net) (62.13.128.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2007 04:19:07 +0000 Received: from outmail128181.authsmtp.net (outmail128181.authsmtp.net [62.13.128.181]) by punt3.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l9R4Ih5r032727 for ; Sat, 27 Oct 2007 05:18:43 +0100 (BST) Received: from tripod-newfield-org.local (user-11218h1.dsl.mindspring.com [66.32.162.33]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l9R4IeOw055968 for ; Sat, 27 Oct 2007 05:18:41 +0100 (BST) Message-ID: <4722BC20.5070606@Newfield.org> Date: Sat, 27 Oct 2007 00:18:40 -0400 From: Dale Newfield User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: [struts] What actually processes a JSP file? References: <13432429.post@talk.nabble.com> <13433156.post@talk.nabble.com> <13434593.post@talk.nabble.com> In-Reply-To: <13434593.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Server-Quench: b35c263a-8443-11dc-b86a-001185d377ca X-AuthRoute: OCdyYg0UAlZZRQAX IiUJEyFBRAEpYBpW DgkeNgZACEEVTxlN KQBTNlNYMFBaQktW TWQMRCsHFEJzWWNy ewpUZwRVaE5MEQNs TktLXFNUFhtrAgMD AxwbTRk8KwwkfAcl GgFiW3VSWkw0dEB5 QQAGFmhVZ2FjOX0X VERbagJVJFBXLBdD O01/VHIMaWBTZX1n FAYlBT1jdQZEND5I Xho4ZW0SSFpDFzUg WhkGGSRnBVcCTCgo NBE9YldUPn0peksz NVZ2MWVf X-Authentic-SMTP: 61633132353131.squirrel.dmpriest.net.uk:752/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Checked: Checked by ClamAV on apache.org I believe there are lots of ways that JSP engines work. Here's how the one in tomcat works: In my app I have a file named login.jsp. Inside $CATLINA_HOME (at work/Catalina/localhost/myapp/org/apache/jsp) it automatically creates login_jsp.java Which it then compiles to login_jsp.class Which it then loads and uses. This java code calls tag libraries, etc. where the OGNL you were asking about earlier might get evaluated. That class extends org.apache.jasper.runtime.HttpJspBase and implements org.apache.jasper.runtime.JspSourceDependent. HttpJspBase implements javax.servlet.jsp.HttpJspPage, javax.servlet.jsp.JspPage, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig so I assume that's the Servlet you're looking for, and likely dictates the lifecycle of org.apache.jsp.login_jsp. I think this process is related to why you can't serve .jsp content from inside .jar's (causing strife to those building struts2 plugins). -Dale --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org