What do you mean by, "over the net"? Even though the uri attribute of a taglib
directive usually looks like a net location, it's really just a unique
identifier for the taglib. If you try hitting
http://jakarta.apache.org/struts/tags-html, all you'll get is a 404 error. To
me, the simplest thing to do for JSP 1.2+ is to use the taglib's well-known URI
(the value of the <uri> element in the TLD file) and keep all the extra crud
out of WEB-INF (no TLD files) and web.xml (no <taglib> elements).

Quoting Vic Cekvenich <[EMAIL PROTECTED]>:

> Good point. 2.0 mens everyting is el.
> Also, I declare tld to pont to /WEB-INF and not over the net.
> .V
> 
> Jason Lea wrote:
> 
> > I also changed to tomcat 5.0 + JSP 2.0.  You can stop using the 
> > struts-el tags and just use the normal struts tags.
> >
> >
> > Erez Efrati wrote:
> >
> >> Hi,
> >>
> >> I am working with Struts 1.1 + JST 1.0 tags.
> >> I wish to use some of the fine features of JSP 2.0 like EL expression
> >> everywhere I like instead of always putting <c:out ... > JSTL 1.0 tag.
> >>
> >> I would also like to continue working with Struts tags such as
> >> <html:hidden value="${EL-expression}" />
> >>
> >> I tried changing the header of the WEB.XML to
> >> <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";>
> >>
> >> But it wasn't enough I guess. I still got the following error:
> >> "According to TLD or attribute directive in tag file, attribute value
> >> does not accept any expressions"
> >>
> >> for using the <html:hidden value="${some-el-expression}" />
> >>
> >> Just to note that the html:hidden refers actually the html-el:hidden.
> >>
> >> What am I missing? Do I need another version of JSTL, Struts or what?
> >>
> >> Thanks in advance,
> >>
> >> --Erez
> 
> -- 
> Please post on Rich Internet Applications User Interface (RiA/SoA) 
> <http://www.portalvu.com>

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to