>But we have that situation in most pages that we develop. Since the >Struts tags are not all encompassing, we must supplement our framework >with other tags, like DisplayTag and other standard JSP tags. So, >allowing the full use of JUEL (or JSTL EL) in the Struts tags, >actually reduces confusion since it allows us to use one EL for an >entire page. Yes, but OGNL is a base for Struts2 stack. And EL is only removed because of the security problem. I'm not saying that use of EL is bad.
>We can't stop the confusion without either expanding the Struts taglib >so that you would never need an outside tag or convert all the other >tag libraries to OGNL. I don't see either of these as being possible. It is a good point. But again, the position of Struts leaders is to show that Struts2 is secure. Show that you should not use EL in Struts2 without concerns, because Struts2 tags evaluates everything as OGNL after the EL evaluation. So, I still believe this thread should be talking about an alternate build of Struts2, or at least an open documentation about how to enable EL to be used and telling the risks to be taken for that. Chris Pratt wrote: > > On Thu, Mar 6, 2008 at 7:51 AM, Felipe Rodrigues <[EMAIL PROTECTED]> > wrote: >> >> Your suggestion for question 1 is good, since we have more description >> on >> struts documentation. >> >> The 2 point is the most important, from my view. >> Use JSP EL in Struts2 tag is not a best pratice. Match these kind of >> languages could make the code confuse to be maintained. Sometimes you >> use >> OGNL, othertimes you use JSTL EL. >> > > But we have that situation in most pages that we develop. Since the > Struts tags are not all encompassing, we must supplement our framework > with other tags, like DisplayTag and other standard JSP tags. So, > allowing the full use of JUEL (or JSTL EL) in the Struts tags, > actually reduces confusion since it allows us to use one EL for an > entire page. > >> We can make this stop now, buy forcing people to use OGNL or leave it >> possible to use and keep trying to make them understand that it is a bad >> pratice. >> > > We can't stop the confusion without either expanding the Struts taglib > so that you would never need an outside tag or convert all the other > tag libraries to OGNL. I don't see either of these as being possible. > >> I think lot of people can say that match it is not a bad pratice, but... >> well, somebody have to decide it. >> > > You can call it bad practice if you want, but I prefer JSTL EL to OGNL > since it is ubiquitous, powerful, consistent and much easier to train > Web Developers to use. > > But then again, that's just one man's opinion. > (*Chris*) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Issue-WW-2107-question---Is-JSTL-disable-or-not--tp15830208p15879306.html Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]