Re: Struts-EL and JSP 2.0

2008-02-14 Thread Antonio Petrelli
2008/2/14, javaskull [EMAIL PROTECTED]: I'm using RAD 7.0 and WAS 6.1 which is a JSP 2.0 container. If I'm using the Struts 1.38 version, should I not put Struts-EL in the WEB- INF\lib folder? I had read that Struts-EL won't work with JSP 2.0 and I should not use Struts-EL for that.

RE: Struts-EL and JSP 2.0

2008-02-14 Thread Karr, David
To: Struts Users Mailing List Subject: Re: Struts-EL and JSP 2.0 2008/2/14, javaskull [EMAIL PROTECTED]: I'm using RAD 7.0 and WAS 6.1 which is a JSP 2.0 container. If I'm using the Struts 1.38 version, should I not put Struts-EL in the WEB- INF\lib folder? I had read that Struts-EL

Re: Struts-EL and Struts features not in JSTL and EL

2006-08-28 Thread Wendy Smoak
On 8/28/06, Mead, Robert F (Titan) @ TITAN [EMAIL PROTECTED] wrote: logic:equal value=someValue name=${param.formName} property=someProp The Struts libraries are intelligent enough to take a dynamic form name and find the property. I have not been able to get the same behavior to work using

Re: Struts-EL and Struts features not in JSTL and EL

2006-08-28 Thread Bob
Thanks. That solution didn't quite work (I didn't need to reference the map) but led me to try something similar which worked. c:if test=${requestScope[param.formName].someProperty =='someValue'} Wendy Smoak-3 wrote: On 8/28/06, Mead, Robert F (Titan) @ TITAN [EMAIL PROTECTED] wrote:

Re: Struts-EL Tag Question

2006-03-24 Thread Michael Jouravlev
http://struts.apache.org/struts-el/tagreference-struts-bean-el.html#bean:size Try name instead of collection. On 3/24/06, Kalcevich, Daniel [EMAIL PROTECTED] wrote: I have a collection in the Request called processes which is an array list of a Transfer Object I use in my application. I am

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Wendy Smoak
On 3/14/06, Mujahid Ali [EMAIL PROTECTED] wrote: I am using some tags from the struts-el package and they used to work fine under weblogic 8.1; After switching over to weblogic 9.1, it seems that the BeanInfo class for a given tan is never called, so the jstl expression ${...} is never

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread kalpesh modi
Weblogic 8.1 support servlet 2.3 and 9.1 should support servlet 2.4 Thanks, -Kalpesh - Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze.

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
9.1 used 2.4 and it is supposed to be backwards compatible. Just to make things simple, I tried deploying the strutsel-exercise-taglib.war that comes with the struts 1.2.8 release. The tags don't work without any modifications to the war. If I modify the web.xml in the war to be 2.4

RE: Struts-el and Weblogic 9.1

2006-03-14 Thread George.Dinwiddie
Wendy Smoak My guess is that you've switched from Servlet 2.3 to 2.4, the same as if you'd moved from Tomcat 4.x to 5.x. Hard to tell, though, without more information. Yep, see http://e-docs.bea.com/wls/docs81/notes/new.html#1184292 and

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Wendy Smoak
On 3/14/06, Mujahid Ali [EMAIL PROTECTED] wrote: 9.1 used 2.4 and it is supposed to be backwards compatible. Just to make things simple, I tried deploying the strutsel-exercise-taglib.war that comes with the struts 1.2.8 release. The tags don't work without any modifications to the war. My

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
When you say Weblogic is provdinig JSTL 1.1 version, you are reffering to standard.jar ? I don't have anything deployed except the example war. So I am not sure about the conflicts. Thanks, Mujahid Wendy Smoak wrote: On 3/14/06, Mujahid Ali [EMAIL PROTECTED] wrote: 9.1 used 2.4 and

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Michael Jouravlev
On 3/14/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 3/14/06, Mujahid Ali [EMAIL PROTECTED] wrote: 9.1 used 2.4 and it is supposed to be backwards compatible. Just to make things simple, I tried deploying the strutsel-exercise-taglib.war that comes with the struts 1.2.8 release. The

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Wendy Smoak
On 3/14/06, Michael Jouravlev [EMAIL PROTECTED] wrote: Slightly offtopic but still relevant: what is meant by container provides support for JSTL 1.1? Because Tomcat 5 supports SRV 2.4, but does not have jstl.jar and standard.jar in shared or endorsed directory. At least 5.5.16 distro does

Re: Struts-el and Weblogic 9.1

2006-03-14 Thread Mujahid Ali
Weblogic has an option where you can force it load classes from the WEB-INF directory. I did that to eliminate any potential class loading conflicts... Still the same issue. I found a known issue http://edocs.bea.com/wls/docs91/issues/known_resolved.html#1056681 [CR210907] : Netui

Re: Struts-EL

2006-03-06 Thread Wendy Smoak
On 3/6/06, Kalcevich, Daniel [EMAIL PROTECTED] wrote: I would like to setup Struts-EL in my application. I am currently running Struts 1.2.8 with Spring. I did the following: 1. Added the Struts-el.jar, jstl.jar, and standard.jar to my WEB-INF/lib. 2. Added the line %@ taglib

RE: Struts-EL

2006-03-06 Thread Kalcevich, Daniel
AM To: Struts Users Mailing List Subject: Re: Struts-EL On 3/6/06, Kalcevich, Daniel [EMAIL PROTECTED] wrote: I would like to setup Struts-EL in my application. I am currently running Struts 1.2.8 with Spring. I did the following: 1. Added the Struts-el.jar, jstl.jar, and standard.jar

Re: Struts-EL

2006-03-06 Thread Michael Jouravlev
purposes, I am using Tomcat 5.5.12 and whatever JSTL version came with Struts 1.2.8, which is 1.0 (I think?). Daniel -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:09 AM To: Struts Users Mailing List Subject: Re: Struts-EL On 3/6/06

Re: Struts-EL

2006-03-06 Thread Wendy Smoak
On 3/6/06, Kalcevich, Daniel [EMAIL PROTECTED] wrote: That was it. My taglib definition was wrong. But for reference purposes, I am using Tomcat 5.5.12 and whatever JSTL version came with Struts 1.2.8, which is 1.0 (I think?). Since you're using Tomcat 5, as Michael pointed out, you have the

Re: [Struts EL JSTL]

2006-01-23 Thread Laurie Harper
Garner, Shawn wrote: I'm not sure what exactly is Struts EL and how it compares to the JSTL tags. I've used JSTL 1.0 tags and see how there is overlap between some of the Struts logic/bean tags but I fail to see what exactly Struts EL is. I've read http://struts.apache.org/struts-el/index.html

RE: [Struts EL JSTL]

2006-01-23 Thread Karr, David
To answer this a little differently than Laurie did, the Struts-EL tag library is a collection of tags that all inherit the behavior of the Struts tags they replace, except the tag attribute values are passed through the JSTL expression evaluation engine implemented by the Jakarta standard taglib

[OT] Re: struts-el tags

2006-01-04 Thread Dave Newton
Sandhya Lakshmi wrote: Thanks, Wendy I was looking for the libraries which are in the struts-el-1.3.0-dev.jar file. Just as a point of distinction and to reiterate what Wendy said, those aren't libraries; they're TLDs, which are descriptions _of_ the libraries: Tag Library Descriptors.

Re: struts-el tags

2006-01-03 Thread Ted Husted
The nightly builds for the upcoming Struts EL 1.3.0 release are here: * http://svn.apache.org/builds/struts/maven/trunk/nightly/struts-el/ The best available version is bundled with the Struts 1.2.8 release: * http://struts.apache.org/download.cgi The libaries are labeled struts-bean-el,

RE: struts-el tags

2006-01-03 Thread Sandhya Lakshmi
the EL tag libraries.please guide to the appropriate link. Thanks Sandhya -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 1:00 PM To: Struts Users Mailing List Subject: Re: struts-el tags The nightly builds for the upcoming Struts EL 1.3.0

Re: struts-el tags

2006-01-03 Thread Wendy Smoak
On 1/3/06, Sandhya Lakshmi [EMAIL PROTECTED] wrote: I downloaded from nightly builds but it has code(struts-el-1.3.0-dev-20060103-src.zip) and documentation(struts-el-1.3.0-dev-20060103.zip) of the Struts EL tags but not the libraries. The struts-el-1.3.0-dev.jar file is there. By libraries

RE: struts-el tags

2006-01-03 Thread Sandhya Lakshmi
Thanks, Wendy I was looking for the libraries which are in the struts-el-1.3.0-dev.jar file. Sandhya -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 1:47 PM To: Struts Users Mailing List Subject: Re: struts-el tags On 1/3/06, Sandhya

Re: Struts-EL problem with struts-el-1.3.0-dev

2005-07-28 Thread Joe Germuska
At 11:08 AM +0100 7/28/05, Marco Mistroni wrote: anyone could give me some hints on what's wrong? Do you think the fact that I have both struts-taglib and struts-el in my Lib directory could cause problems? No, because el actually depends on taglib -- you have to have taglib to use el. If

RE: Struts-EL problem with struts-el-1.3.0-dev

2005-07-28 Thread Marco Mistroni
July 2005 12:15 To: Marco Mistroni; 'Struts Users Mailing List' Subject: Re: Struts-EL problem with struts-el-1.3.0-dev At 11:08 AM +0100 7/28/05, Marco Mistroni wrote: anyone could give me some hints on what's wrong? Do you think the fact that I have both struts-taglib and struts-el in my Lib

Re: Struts-EL problem with struts-el-1.3.0-dev

2005-07-28 Thread Wendy Smoak
From: Marco Mistroni [EMAIL PROTECTED] Yes I actually reverted to using c:if, and it worked Just fine I wanted just to report the situation to see if I was Using the taglib incorrectly... logic:present name=${sessionScope.results} Even if you're going to use an expression, the 'name'

RE: Struts-EL problem with struts-el-1.3.0-dev

2005-07-28 Thread Marco Mistroni
Hello Wendy, I missed one point of your statement.. logic:present name=${sessionScope.results} Even if you're going to use an expression, the 'name' attribute should still evaluate to the _name_ of the bean, not the bean itself.

Re: Struts-EL problem with struts-el-1.3.0-dev

2005-07-28 Thread Jeff Beal
On 7/28/05, Marco Mistroni [EMAIL PROTECTED] wrote: Hello Wendy, I missed one point of your statement.. logic:present name=${sessionScope.results} Even if you're going to use an expression, the 'name' attribute should still evaluate to the _name_ of the bean, not the bean

Re: STruts-EL

2005-07-26 Thread Wendy Smoak
Anyone can suggest me a good link from where I can learn Struts-EL? http://struts.apache.org/userGuide/building_view.html#struts-el http://struts.apache.org/faqs/struts-el.html You can find Struts-EL in the 'contrib' directory of the 1.2.7 binary distribution. -- Wendy Smoak

Re: STruts-EL

2005-07-26 Thread M4RC0
But, a newbie question: whitch are the beneficts of using Struts-EL instead standar struts taglibs or JSTL??? After reading documentation, i really don't understand why, when and where to use Struts-EL. I mean, why to use bean-el:message key=${stringvar}/ instead bean:message key='%= stringvar

Re: STruts-EL

2005-07-26 Thread Dave Newton
M4RC0 wrote: I mean, why to use bean-el:message key=${stringvar}/ instead bean:message key='%= stringvar %'/ Because typing ${} is easier/cleaner than typing %= % and it's JSP 2.0 syntax. Dave - To unsubscribe,

Re: STruts-EL

2005-07-26 Thread Jeff Beal
It's a lot more clear to compare the difference between: bean-el:message key=${someObj.someProp.someString}/ and bean:message key=%= request.getAttribute(someObj).getSomeProp().getSomeString()%/ Especially considering the following scenarios that just work in EL: -- What if someObj may be

Re: STruts-EL

2005-07-26 Thread Wendy Smoak
From: M4RC0 [EMAIL PROTECTED] But, a newbie question: whitch are the beneficts of using Struts-EL instead standar struts taglibs or JSTL??? These aren't mutually exclusive, typically you'll use the original Struts taglib alone, or Struts-EL and JSTL 1.0 together [in a Servlet 2.3/JSP 1.2

Re: STruts-EL

2005-07-26 Thread Jeff Beal
The second example would actually have to be: bean:message key=%= ((SomeClass)request.getAttribute(someObj)).getSomeProp().getSomeString()% / -- Jeff On 7/26/05, Jeff Beal [EMAIL PROTECTED] wrote: It's a lot more clear to compare the difference between: bean-el:message

RE: STruts-EL

2005-07-26 Thread Karr, David
Another good suggestion would be to NOT use a different taglib prefix for the struts-el tag libraries. In the initial examples, you might have seen examples like html and html-el. I don't recommend that (anymore). If you use the same prefix, then that will be less to change when you port your

Re: Struts-EL

2005-05-08 Thread Niall Pemberton
The EL flavour tags allow you to use expression language (EL) in the attributes of the struts tags in a Servlet 2.3 container (which Tomcat 4.1.31 is). Once you upgrade to a Servlet 2.4 container (e.g. Tomcat 5.x), which comes with EL support provided then you will need to switch back to the

Re: struts-el webapp NullPointerException

2005-04-27 Thread Woodchuck
hihi Morris, sorry but i have to ask, why do you need the struts-el library when you are using Tomcat 5.0.28? Tomcat 5 already has EL capability built-in. woodchuck --- Morris Jones [EMAIL PROTECTED] wrote: I can't find any record in the bugzilla of this being a known problem, but maybe

Re: struts-el webapp NullPointerException

2005-04-27 Thread Morris Jones
Hmmm! I must have missed that in the docs. Thanks! So for the same functionality, I should include the JSTL _and_ Struts taglibs in my JSPs and write expressions with abandon? And perhaps that explains why the struts-el webapp doesn't work with Tomcat 5 ... Mojo Woodchuck wrote: hihi Morris,

Re: struts-el webapp NullPointerException

2005-04-27 Thread Woodchuck
yup, that's what i do now. works great :) --- Morris Jones [EMAIL PROTECTED] wrote: Hmmm! I must have missed that in the docs. Thanks! So for the same functionality, I should include the JSTL _and_ Struts taglibs in my JSPs and write expressions with abandon? And perhaps that

RE: Struts-EL with Hibernate and LazyInitializationException (no session)

2004-12-20 Thread David G. Friedman
Marius, In Hibernate when you use Lazy initialization it means no attempt is made to read your data from the database UNTIL you ask for a component of the object. So, if you save your object to a scope (request, session, tile, application) and close your session object. You might get around

RE: Struts-EL with Hibernate and LazyInitializationException (no session)

2004-12-20 Thread Marius Botha
get the exception. Thanks again. Marius -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 07:07 To: Struts Users Mailing List Subject: RE: Struts-EL with Hibernate and LazyInitializationException (no session) Marius, In Hibernate when you use

Re: struts-el

2004-09-10 Thread Craig McClanahan
On Fri, 10 Sep 2004 08:15:19 +0200, Claudia Woestheinrich [EMAIL PROTECTED] wrote: Hallo, I want to uses Struts-el but I can't find the source. Where can I get it? It's in the standard Struts source distribution (or CVS), under contrib/struts-el. Thanks Claudia Craig

Re: struts-el

2004-09-10 Thread Jason Lea
Claudia Woestheinrich wrote: Hallo, I want to uses Struts-el but I can't find the source. Where can I get it? If you download struts and unzip the file it will have 3 directories: contrib, lib and webapp look in contrib/struts-el Though, if you are using tomcat 5 (which has JSP2/JSTL1.1)

Re: struts-el

2004-09-10 Thread Craig McClanahan
On Fri, 10 Sep 2004 18:23:46 +1200, Jason Lea [EMAIL PROTECTED] wrote: Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you don't need struts el, just use the normal struts tags as Tomcat takes care of the EL expressions. To be a little bit more verbose, this behavior is only