package org.apache.el.parser;
import javax.el.ELException;
import javax.el.MethodInfo;
import org.apache.el.lang.EvaluationContext;
/* All AST nodes must implement this interface.  It provides basic
   machinery for constructing the parent and child relationships
   between nodes. */

/*** @author Jacob Hookom [ja...@hookom.net]
 * @version $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $
 *MG>hard to believe this is the most recent!
 */
public interface Node {
//important stuff
public Class getType(org.apache.el.lang.EvaluationContext ctx) throws 
ELException;
//more important stuff
//getType() method with no parameters not in this distro
}

//you *may* need to construct the org.apache.el.lang.EvaluationContext before 
getType
//here is the constructor for EvaluationContext
    public EvaluationContext(ELContext elContext, FunctionMapper fnMapper,
            VariableMapper varMapper) {
        this.elContext = elContext;
        this.fnMapper = fnMapper;
        this.varMapper = varMapper;
    }
?
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> From: chuck.caldar...@unisys.com
> To: users@tomcat.apache.org
> Date: Sun, 7 Jun 2009 15:24:18 -0500
> Subject: RE: Update to 6.0.20: deferred EL expressions
> 
> > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> > Subject: RE: Update to 6.0.20: deferred EL expressions
> > 
> > I've verified your observations by fiddling with one of the 
> > JSP examples that come with Tomcat; it does seem like a bug
> > in 6.0.20 at this point.  Will need to do some more digging.
> 
> I've patched org/apache/jasper/compiler/Generator.java to produce the same 
> behavior in 6.0.20 as was available in 6.0.18, at least for my test case.  I 
> can't say I'm happy with the fix, since I don't understand why it's needed; 
> something else that I haven't found has changed, so this is really just 
> addressing the symptom, not the underlying cause.  If you file a bug report, 
> I suspect Mark T will be able to prepare a better fix.
> 
> If the attachment doesn't make it through, here's the change, lines 962-967:
> 
> old code:
>             if (!pageInfo.isELIgnored() && (n.getEL() != null)) {
>                 out.printil("out.write("
>                         + JspUtil.interpreterCall(this.isTagFile, n.getType() 
> + "{"
>                                 + new String(n.getText()) + "}", String.class,
>                                 n.getEL().getMapName(), false) + ");");
>             } else {
> 
> new code:
>             if (!pageInfo.isELIgnored() && (n.getEL() != null || n.getType() 
> == '#')) {
>                 out.printil("out.write("
>                         + JspUtil.interpreterCall(this.isTagFile, n.getType() 
> + "{"
>                                 + new String(n.getText()) + "}", String.class,
>                                 n.getType() == '#' ? "null" : 
> n.getEL().getMapName(), false) + ");");
>             } else {
> 
> Only lines 962 and 966 were changed; the others are provided for context.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
> 

_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009

Reply via email to