Oh, yes, tomcat 5.5.x is working fine for me regarding
EL.   Thanks for the advice on the other mailing
lists.  I'll give them a try.

dave

--- Rashmi Rubdi <[EMAIL PROTECTED]> wrote:

> I don't know about Custom Tag Libraries, but I do
> know about installing and configuring JSTL 1.1 on
> Tomcat 5.5.x
> 
> Have you tried something like this with JSTL ,
> before attempting Custom Tags ?
> 
> <c:set var="someVariable" value="some string
> value"/>
> ${someVariable}
> 
> In the above case do you see "some string value"   ,
> or do you see ${someVariable}  ?
> 
> If you see ${someVariable} , then EL is not
> evaluating because your project's web.xml might not
> be configured correctly to Servlet 2.4 spec.
> 
> Your project's  web.xml for Tomcat 5.5 should be
> like this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <web-app version="2.4"
>       xmlns="http://java.sun.com/xml/ns/j2ee";
>      
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>      
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
> 
> </web-app>
> For JSTL1.1 and Custom Tag libs I recommend these
> forums/ mailing lists:
>
http://forum.java.sun.com/forum.jspa?forumID=45&start=0
> http://jakarta.apache.org/taglibs/#MailingLists
> 
> -Rashmi
> 
> ----- Original Message ----
> From: David Diehl <[EMAIL PROTECTED]>
> To: Tomcat Users List <users@tomcat.apache.org>
> Sent: Friday, March 16, 2007 2:26:32 PM
> Subject: Re: Should EL (Expression Language)
> expressions result in the TagData.REQUEST_TIME_VALUE
> object?
> 
> 
> Sorry to be a pest, but no replies in 2 days.  Any
> tomcat developers willing to help me?  Should I just
> post this as a bug?  Any advice is appreciated.
> 
> thanks.
> 
> dave
> 
> --- David Diehl <[EMAIL PROTECTED]> wrote:
> 
> > I have a custom tag with attributes defined in the
> > TLD
> > file as allowing run-time expression values,
> > meaning:
> > 
> > <rtexprvalue>true</rtexprvalue>
> > 
> > 
> > I also have a TagExtraInfo class that I am using
> to
> > validate the values provided.
> > 
> > Inside my TagExtraInfo sub-class I have code such
> as
> > this:
> > 
> >    Object attr = data.getAttribute("groupSize");
> > 
> >    if ( attr != null &&
> >         !attr.equals(TagData.REQUEST_TIME_VALUE)
> >    {
> > 
> > and so on.   When, in my JSP, I provide attribute
> > values such as "<%= 10 * 14 %>" (JSP scriplet) I
> do
> > indeed get the TagData.REQUEST_TIME_VALUE object
> > back
> > on this call.
> > 
> > However, when I instead have an EL value,
> something
> > like "${groupSizeValue}", I do not received the
> > REQUEST_TIME_VALUE distinguished object back.  I
> > receive a String object, containing the text
> > "${groupSizeValue}".  Is this the correct
> behavior? 
> > Everything I have read (books, Google searches,
> > etc.)
> > seems to point me in the thinking that this is a
> > bug.
> > 
> > 
> > From looking at the tomcat 5.5.20 and 5.5.23
> source
> > code, I see where the JspAttribute (nested class
> of
> > Node) is created.  In the Validator class, line
> > 1117,
> > is the creation for this object passing the
> constant
> > "false" for the "expr" argument (5th argument to
> the
> > 1st ctor of this class).  I believe it is line
> 1117
> > that would be getting executed since the if
> > statement
> > preceding this is:
> > 
> >   if (el.containsEL() && !pageInfo.isELIgnored())
> {
> > 
> > 
> > So, my question is, why would an EL expression
> when
> > EL
> > is not being ignored be considered not an
> > expression?
> > 
> > Thanks in advance.
> > 
> > dave
> > 
> > 
> >  
> >
>
____________________________________________________________________________________
> > Now that's room service!  Choose from over 150,000
> > hotels
> > in 45,000 destinations on Yahoo! Travel to find
> your
> > fit.
> > http://farechase.yahoo.com/promo-generic-14795097
> > 
> >
>
---------------------------------------------------------------------
> > To start a new topic, e-mail:
> > users@tomcat.apache.org
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
> 
>
____________________________________________________________________________________
> Food fight? Enjoy some healthy debate 
> in the Yahoo! Answers Food & Drink Q&A.
>
http://answers.yahoo.com/dir/?link=list&sid=396545367
> 
>
---------------------------------------------------------------------
> To start a new topic, e-mail:
> users@tomcat.apache.org
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>  
>
____________________________________________________________________________________
> Sucker-punch spam with award-winning protection. 
> Try the free Yahoo! Mail Beta.
>
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
> 
>
---------------------------------------------------------------------
> To start a new topic, e-mail:
> users@tomcat.apache.org
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to