Hi,

--- Wendy Smoak <[EMAIL PROTECTED]> wrote:

> On 11/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> > > You should not be using Struts-EL with Servlet 2.4/JSP 2.0.
> >
> > Are you saying I should get some other version of Struts that is
> > Servlet 2.4/JSP 2.0-aware?  Is there a Struts 1.1 version that is
> > 2.4/2.0-aware?
> 
> Since the container will evaluat the expressions before the Struts
> tags ever see them, the tags don't need to be JSP 2.0 aware.  Just
> use
> the non-EL versions of the Struts 1.1 tags.
> 
> > Not sure what you mean by "original Struts tags" and "use a JSTL
> 1.1
> > implementation with them".
> > I believe I have the regular, Struts 1.1 taglibs and the JSTL 1.1
> > taglibs I have (c:out & friends) are working fine in servlet
> 2.4/JSP
> > 2.0 container.
> 
> You're almost there... just get rid of Struts-EL entirely, you only
> need what's in struts.jar.
> 
> What's in your <@% taglib ... %> directives at the top of your JSPs? 
> I don't know the right URI offhand, but you're probably still using
> the EL version.  Post what you've got and we'll edit from there.

Aha, I see what you mean now.
I had this:
<%@ taglib uri="/WEB-INF/struts-html-el.tld"   prefix="html-el"  %>

Changed it to this:
<%@ taglib uri="/WEB-INF/struts-html.tld"   prefix="html-el"  %>

And now things seem to work.

Thank you very much for your help!

Otis

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/ -- Find it. Tag it. Share it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to