Hi Scott. Thanks for your quick response.

Yes, it's the EL expressions that aren't working.

I upgraded my web.xml to 2.5 as you suggested. I've also skipped ahead to Resin 
3.1.3 and JDK 1.5 - might as well endure all the pain at once....

This works:

          <%@ taglib uri="/struts-logic.tld" prefix="logic" %>
          <logic:equal name="accountForm" property="mode" value="add">
            <bean:message key="account.label.new" />
          </logic:equal>
          <logic:equal name="accountForm" property="mode" value="edit">
            <bean:message key="account.label.edit" />
          </logic:equal>

This does not:

         <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
         <c:if test='${accountForm.mode=="add"}'>
            <bean:message key="account.label.new" />
          </c:if>
          <c:if test='${accountForm.mode=="edit"}'>
            <bean:message key="account.label.edit" />
          </c:if>



-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Scott Ferguson
Sent: Thu 2/7/2008 8:31 AM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] JSTL tags don't work after upgrade from 3.0.12to 
3.0.25
 

On Feb 6, 2008, at 3:35 PM, Joe Zuffoletto wrote:

> Trying to upgrade my app from 3.0.12 to 3.0.25 and when doing so the  
> <c:if> tag (and probably others) stops working. Surfed the archives  
> and tried the JSTL-related tips contained therein but still no joy.  
> Anyone have any other insights about this problem?

Is it the EL expressions that are causing trouble?

You might need to force your web.xml to be "2.5" compliant, by adding  
the JavaEE namespace declaration.  (This issue should also be resolved  
in 3.1.x)

-- Scott

>
> Thanks - Joe
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


<<winmail.dat>>

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to