Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 25391 invoked from network); 9 Apr 2007 09:27:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 09:27:00 -0000 Received: (qmail 49655 invoked by uid 500); 9 Apr 2007 09:26:54 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 49643 invoked by uid 500); 9 Apr 2007 09:26:54 -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 49632 invoked by uid 99); 9 Apr 2007 09:26:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:26:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [66.196.97.63] (HELO web56704.mail.re3.yahoo.com) (66.196.97.63) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Apr 2007 02:26:47 -0700 Received: (qmail 80401 invoked by uid 60001); 9 Apr 2007 09:26:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tIrzPfzB4xRQtRIm8B+87pQvV3cnEx7zSzCE5MAgODcnZpEJItmeZDs/8PAMsZzKMZic9tvC17dSr5NCi59ygFyGm4kopK61hzmSyGzFaMvpipMtAiZzWcKdFGvWLyHn2byghUTaeEgWnNvQpRLBcW8DulzrH/X94xM/7z0DLPE=; X-YMail-OSG: 5shU5CoVM1nVbu5jq95CZgZkcZb4uoyGNAuF2a40aVKmN7iNR7XyDP5RZFPGg_1VB6v1q3VN9pK4KyzlDfcQAQu69MFg_3Cys8_CG4Fbh_5fZG7ZhX5ucPhuS7KxCQ-- Received: from [68.37.196.220] by web56704.mail.re3.yahoo.com via HTTP; Mon, 09 Apr 2007 02:26:25 PDT Date: Mon, 9 Apr 2007 02:26:25 -0700 (PDT) From: Dave Newton Subject: Re: resume after login feature To: Struts Users Mailing List In-Reply-To: <4649a9a20704082150g5b0aec4dpa42f263214e509b6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <956296.80396.qm@web56704.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- Jae K wrote: > [...] it doesn't require sessions for guest users I can't get all worked up about a single string in session for guests who will only use it if they hit a page where they need to log in, and if they're logging in, they're not guests anymore! > For example, the Struts wiki does not explain what > the 'request' stack value is (I thought it was the > session request object, but it is not), While I agree the OGNL docs need some rework: http://struts.apache.org/2.x/docs/ognl.html does say "Along with the value stack, the framework places other objects in the ActionContext, including Maps representing the application, session, and request contexts." Could be clearer, especially for those that don't know the framework, but it's sorta there, and it's also in the FAQ: http://struts.apache.org/2.x/docs/what-are-the-default-variables-in-the-value-stack.html http://struts.apache.org/2.x/docs/ognl-basics.html actually mentions 'parameters' down at the bottom, and specifically states that 'parameters' is for request.getParameter, 'request' is for request.getAttribute, etc. > Last but not least, it is not obvious that the OGNL > expressions need to be enclosed in ${} when used in > the struts config file. (Is this even true? I don't > know since it's not documented! It certainly isn't > documented so in the OGNL documentation). That's a config-file issue, not OGNL, and actually is addressed in the FAQs, but someone or myself will add a note to the results configuration page (I think that makes the most sense?) http://struts.apache.org/2.x/docs/parameters-in-configuration-results.html > Anyways, are you a developer for Struts Dave? Brain's too small :/ A lot of the issues with the documentation isn't so much that the information isn't there, but that it's somewhat difficult find at times. ...and sometimes you are forced to read to the bottom of the page ;) d. ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org