You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ricardo Cortes <rc...@boltstaff.com> on 2004/05/05 19:33:29 UTC

JSTL 1.1 + HTML-EL Problem

Hey guys,

I've been banging my head with this for sometime so I'm hoping someone has an answer.  We are running JBoss 3.2.3 and have successfully replaced Tomcat 4 with Tomcat 5 so we can use the JSP 2.0 and Servlet 2.4 specifications.  I decided to download Standard 1.1 which has support for JSTL 1.1 (including the JSTL functions) and I'm having problems getting the <html-el> tags to properly work with JSTL 1.1.  Everything works fine if I don't use the <html-el> tags but once I introduce <html-el> tags into my JSPs/Tiles I get an error stating the "property" attribute can't accept expressions.  I might also add that I've modified our web.xml to point to the Servlet 2.4 XML schema rather than the Servlet 2.3 DTD.  I tried switching back to the Servlet 2.3 DTD and using the isELEnabled directive but I kept getting the following error:

"Page directive has invalid attribute: isELEnabled"

Am I correct in saying the <html-el> tags don't work with the Servlet 2.4 specification?

Thanks,
Ricardo



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


RE: JSTL 1.1 + HTML-EL Problem

Posted by Kris Schneider <kr...@dotech.com>.
;-) Assuming this is some sort of communication breakdown, what I meant was that
the phrase "accept runtime expressions" should actually be "accept request-time
expressions". There's no such thing as a JSP "runtime expression"...

Quoting Zsolt Koppany <zk...@intland.com>:

> What are "runtime" and "request-time"? Where can I change "runtime"?
> 
> Zsolt
> 
> > -----Original Message-----
> > From: Kris Schneider [mailto:kris@dotech.com]
> > Sent: Wednesday, May 05, 2004 7:41 PM
> > To: Struts Users Mailing List
> > Subject: Re: JSTL 1.1 + HTML-EL Problem
> >
> >
> > Ugh. Change "runtime" to "request-time"...
> >
> > Quoting Kris Schneider <kr...@dotech.com>:
> >
> > > The Struts-EL tags are essentially useless in JSP 2.0. Use the standard
> > > Struts
> > > tags and JSP 2.0 will automatically allow EL expressions for attribute
> > > values.
> > > At least for those that would normally accept runtime expressions...
> > >
> > > Quoting Ricardo Cortes <rc...@boltstaff.com>:
> > >
> > > > Hey guys,
> > > >
> > > > I've been banging my head with this for sometime so I'm
> > hoping someone has
> > > an
> > > > answer.  We are running JBoss 3.2.3 and have successfully
> > replaced Tomcat
> > > 4
> > > > with Tomcat 5 so we can use the JSP 2.0 and Servlet 2.4
> > specifications.  I
> > > > decided to download Standard 1.1 which has support for JSTL
> > 1.1 (including
> > > > the JSTL functions) and I'm having problems getting the
> > <html-el> tags to
> > > > properly work with JSTL 1.1.  Everything works fine if I don't use the
> > > > <html-el> tags but once I introduce <html-el> tags into my
> > JSPs/Tiles I
> > > get
> > > > an error stating the "property" attribute can't accept expressions.  I
> > > might
> > > > also add that I've modified our web.xml to point to the
> > Servlet 2.4 XML
> > > > schema rather than the Servlet 2.3 DTD.  I tried switching back to the
> > > > Servlet 2.3 DTD and using the isELEnabled directive but I
> > kept getting the
> > > > following error:
> > > >
> > > > "Page directive has invalid attribute: isELEnabled"
> > > >
> > > > Am I correct in saying the <html-el> tags don't work with the
> > Servlet 2.4
> > > > specification?
> > > >
> > > > Thanks,
> > > > Ricardo
> > >
> > > --
> > > Kris Schneider <ma...@dotech.com>
> > > D.O.Tech       <http://www.dotech.com/>
> >
> > --
> > Kris Schneider <ma...@dotech.com>
> > D.O.Tech       <http://www.dotech.com/>

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

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


RE: JSTL 1.1 + HTML-EL Problem

Posted by Zsolt Koppany <zk...@intland.com>.
What are "runtime" and "request-time"? Where can I change "runtime"?

Zsolt

> -----Original Message-----
> From: Kris Schneider [mailto:kris@dotech.com]
> Sent: Wednesday, May 05, 2004 7:41 PM
> To: Struts Users Mailing List
> Subject: Re: JSTL 1.1 + HTML-EL Problem
>
>
> Ugh. Change "runtime" to "request-time"...
>
> Quoting Kris Schneider <kr...@dotech.com>:
>
> > The Struts-EL tags are essentially useless in JSP 2.0. Use the standard
> > Struts
> > tags and JSP 2.0 will automatically allow EL expressions for attribute
> > values.
> > At least for those that would normally accept runtime expressions...
> >
> > Quoting Ricardo Cortes <rc...@boltstaff.com>:
> >
> > > Hey guys,
> > >
> > > I've been banging my head with this for sometime so I'm
> hoping someone has
> > an
> > > answer.  We are running JBoss 3.2.3 and have successfully
> replaced Tomcat
> > 4
> > > with Tomcat 5 so we can use the JSP 2.0 and Servlet 2.4
> specifications.  I
> > > decided to download Standard 1.1 which has support for JSTL
> 1.1 (including
> > > the JSTL functions) and I'm having problems getting the
> <html-el> tags to
> > > properly work with JSTL 1.1.  Everything works fine if I don't use the
> > > <html-el> tags but once I introduce <html-el> tags into my
> JSPs/Tiles I
> > get
> > > an error stating the "property" attribute can't accept expressions.  I
> > might
> > > also add that I've modified our web.xml to point to the
> Servlet 2.4 XML
> > > schema rather than the Servlet 2.3 DTD.  I tried switching back to the
> > > Servlet 2.3 DTD and using the isELEnabled directive but I
> kept getting the
> > > following error:
> > >
> > > "Page directive has invalid attribute: isELEnabled"
> > >
> > > Am I correct in saying the <html-el> tags don't work with the
> Servlet 2.4
> > > specification?
> > >
> > > Thanks,
> > > Ricardo
> >
> > --
> > Kris Schneider <ma...@dotech.com>
> > D.O.Tech       <http://www.dotech.com/>
>
> --
> Kris Schneider <ma...@dotech.com>
> D.O.Tech       <http://www.dotech.com/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>



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


Re: JSTL 1.1 + HTML-EL Problem

Posted by Kris Schneider <kr...@dotech.com>.
Ugh. Change "runtime" to "request-time"...

Quoting Kris Schneider <kr...@dotech.com>:

> The Struts-EL tags are essentially useless in JSP 2.0. Use the standard
> Struts
> tags and JSP 2.0 will automatically allow EL expressions for attribute
> values.
> At least for those that would normally accept runtime expressions...
> 
> Quoting Ricardo Cortes <rc...@boltstaff.com>:
> 
> > Hey guys,
> > 
> > I've been banging my head with this for sometime so I'm hoping someone has
> an
> > answer.  We are running JBoss 3.2.3 and have successfully replaced Tomcat
> 4
> > with Tomcat 5 so we can use the JSP 2.0 and Servlet 2.4 specifications.  I
> > decided to download Standard 1.1 which has support for JSTL 1.1 (including
> > the JSTL functions) and I'm having problems getting the <html-el> tags to
> > properly work with JSTL 1.1.  Everything works fine if I don't use the
> > <html-el> tags but once I introduce <html-el> tags into my JSPs/Tiles I
> get
> > an error stating the "property" attribute can't accept expressions.  I
> might
> > also add that I've modified our web.xml to point to the Servlet 2.4 XML
> > schema rather than the Servlet 2.3 DTD.  I tried switching back to the
> > Servlet 2.3 DTD and using the isELEnabled directive but I kept getting the
> > following error:
> > 
> > "Page directive has invalid attribute: isELEnabled"
> > 
> > Am I correct in saying the <html-el> tags don't work with the Servlet 2.4
> > specification?
> > 
> > Thanks,
> > Ricardo
> 
> -- 
> Kris Schneider <ma...@dotech.com>
> D.O.Tech       <http://www.dotech.com/>

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

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


Re: JSTL 1.1 + HTML-EL Problem

Posted by Kris Schneider <kr...@dotech.com>.
The Struts-EL tags are essentially useless in JSP 2.0. Use the standard Struts
tags and JSP 2.0 will automatically allow EL expressions for attribute values.
At least for those that would normally accept runtime expressions...

Quoting Ricardo Cortes <rc...@boltstaff.com>:

> Hey guys,
> 
> I've been banging my head with this for sometime so I'm hoping someone has an
> answer.  We are running JBoss 3.2.3 and have successfully replaced Tomcat 4
> with Tomcat 5 so we can use the JSP 2.0 and Servlet 2.4 specifications.  I
> decided to download Standard 1.1 which has support for JSTL 1.1 (including
> the JSTL functions) and I'm having problems getting the <html-el> tags to
> properly work with JSTL 1.1.  Everything works fine if I don't use the
> <html-el> tags but once I introduce <html-el> tags into my JSPs/Tiles I get
> an error stating the "property" attribute can't accept expressions.  I might
> also add that I've modified our web.xml to point to the Servlet 2.4 XML
> schema rather than the Servlet 2.3 DTD.  I tried switching back to the
> Servlet 2.3 DTD and using the isELEnabled directive but I kept getting the
> following error:
> 
> "Page directive has invalid attribute: isELEnabled"
> 
> Am I correct in saying the <html-el> tags don't work with the Servlet 2.4
> specification?
> 
> Thanks,
> Ricardo

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

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