tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: JSTL/JSP/regexp Question
Date Thu, 02 Dec 2004 00:20:23 GMT
If your webapp's web.xml is a 2.4 webapp. Then tomcat will do the EL 
translations before the value is passed to your custom tag. You won't have to 
use ExpressionEvaluatorManager because it would have been done for you.

-Tim

Jack Lauman wrote:
> Tim:
> 
> This app is deployed with JBoss 3.2.7RC1/Tomcat 5.0.28.  The JDK is 
> 1.4.2_06.
> The custom tag libraries were developed using JSTL 1.0.  I'm not sure 
> how to
> convert them.  Can you use a 1.0 tag in 1.1?  Below is an example of an 
> SMTP mail
> tag the I'm using.  Will this work in 1.1 or does it need to be rewritten?
> 
> Thanks,
> 
> Jack
> 
> package com.nwc.tags;
> 
> import java.io.IOException;
> import java.io.PrintStream;
> 
> import javax.servlet.jsp.JspException;
> import javax.servlet.jsp.tagext.BodyContent;
> import javax.servlet.jsp.tagext.BodyTagSupport;
> 
> import org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager;
> 
> import sun.net.smtp.SmtpClient;
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message