Re: Need help using tiles taglib with JSTL

2005-08-19 Thread Michael Mattox
> > > > classname="fr.data.Inscription" > name="inscription" > scope="request" > ignore="false"/> > > > I figured it out.. the problem was the JSTL var in the forEach was limited in scope t

Need help using tiles taglib with JSTL

2005-08-18 Thread Michael Mattox
I'm trying to use the tiles taglib with JSTL (servlet spec 2.4).. if I use just the HTML tags they work file, and JSTL 1.1 by itself works fine. The problem comes when I need to use them together. Here I have a list of inscriptions in the request scope and I want to loop through them and pass each

Should I use JSTL 1.1 & struts taglibs or JSTL 1.0 & struts-el taglibs?

2005-08-11 Thread Michael Mattox
I'm using tomcat 5.5.9 with 2.4 spec web.xml. So far I'm using JSTL 1.1 and I'm not sure if I should use the regular struts taglibs or if I should go back to JSTL 1.0 to use struts-el? I like the idea of the struts-el taglibs.. is it possible to use the "el" of JSTL 1.1 with the regular struts ta

How to use JSTL 1.1 with Struts non-el taglibs

2005-08-10 Thread Michael Mattox
I read a mail in the archives here which said if you're using a Servlet spec 2.3 then use JSTL 1.0 with struts-el taglibs. But if you're using 2.4 then use JSTL 1.1 with struts taglibs. I'm using tomcat 5.5.9 so I'd like to use JSTL 1.1 but I don't understand how to use them with the regular non-

Re: Can't start simple struts app with Eclipse, JDK 1.5, & Tomcat plugin

2005-06-30 Thread Michael Mattox
> GRAVE: Unable to initialize Struts ActionServlet due to an unexpected > exception or error thrown, so marking the servlet as unavailable. Most > likely, this is due to an incorrect or missing library dependency. > java.lang.NoClassDefFoundError: > org/apache/struts/tiles/TilesRequestProcessor I

Can't start simple struts app with Eclipse, JDK 1.5, & Tomcat plugin

2005-06-30 Thread Michael Mattox
I was developing just fine and now tomcat refuses to start. I get this error: GRAVE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency. java.lang.

Re: How to use multiple tiles definitions files for multi channel

2005-06-22 Thread Michael Mattox
>> In the tiles documentation webapp, it's stated: >> >> "A mechanism similar to Java properties files is used for definitions >> files : you can have one definition file per key. The appropriate >> definition is loaded according to the key." >> >> I'd like to use this to have different tiles for w

How to use multiple tiles definitions files for multi channel

2005-06-21 Thread Michael Mattox
In the tiles documentation webapp, it's stated: "A mechanism similar to Java properties files is used for definitions files : you can have one definition file per key. The appropriate definition is loaded according to the key." I'd like to use this to have different tiles for web & wap devices.