Re: about EL-based JSTL

2003-01-20 Thread Shawn Bayern
On Tue, 21 Jan 2003, Kishi Mikio wrote:

> Mr. Henri and Mr.David,
> Thank you for your rapid response.
> 
> From: Henri Yandell <[EMAIL PROTECTED]>
> Subject: Re: about EL-based JSTL
> Date: Sun, 19 Jan 2003 14:09:42 -0500 (EST)
> 
> > I think it's an architectual rather than technical decision. JSP 2.0 will
> > be EL-ised by default [as far as I know] so by using the EL-based JSTL now
> > you might get better forward compatibility. Then again, turning off the EL
> > is just a config option in the web.xml so it won't be very hard.
> 
> I see.
> If so, will "EL-based tags" become de facto standard,
> and "RT-based tags" disappear in near future ?

That's how it will look, but in terms of the actual implementation, the
EL-based tags (i.e., tags that interpret the EL themselves) will go away,
and the "RT-based tags," which will allow either rtexprvalues or JSP 2.0
EL expressions, will be used.

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


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




Re: about EL-based JSTL

2003-01-20 Thread Kishi Mikio
Mr. Henri and Mr.David,
Thank you for your rapid response.

From: Henri Yandell <[EMAIL PROTECTED]>
Subject: Re: about EL-based JSTL
Date: Sun, 19 Jan 2003 14:09:42 -0500 (EST)

> I think it's an architectual rather than technical decision. JSP 2.0 will
> be EL-ised by default [as far as I know] so by using the EL-based JSTL now
> you might get better forward compatibility. Then again, turning off the EL
> is just a config option in the web.xml so it won't be very hard.

I see.
If so, will "EL-based tags" become de facto standard,
and "RT-based tags" disappear in near future ?

I am interested in JSP 2.0 very much,
but at present, my JSP environment is 1.2...

Sincerely,

Mikio Kishi.

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




Re: about EL-based JSTL

2003-01-19 Thread David M. Karr
> "Kishi" == Kishi Mikio <[EMAIL PROTECTED]> writes:

Kishi> Hi,
Kishi> I have one question about JSTL (especially, expression language).
Kishi> Now, I have restructed a system with Java2EE,
Kishi> and considered the use of JSTL
Kishi> and other tag libraries(jakarta-talibs) at that time.

Kishi> But, because expression language is available in "only" JSTL,
Kishi> it is inconvenience. Also, expression language has some problems.
Kishi> For example, it is impossible to use a method invocation
Kishi> except getter and setter (such as List#size()),
Kishi> a method invocation with arguments, and so on.

Kishi> So, I have considered the use of not "EL-based JSTL" but "RT-based JSTL"
Kishi> in "all JSP parts" .
Kishi> Has it made a mistake in this strategy ?
Kishi> Is it better to use "EL-based JSTL" ?

As Henri mentioned, JSP 2.0 will use the EL in all tag attributes, and in body
content.  There are also a small number of other libraries that use the EL
engine for attribute values, including the Struts tag library, using the
Struts-EL contribution.

In JSP 2.0, issues with method invocation in the EL will be somewhat addressed.
I would hesitate to go much further than JSP 2.0 is going, as that would make
it easier to pollute view logic with business logic.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP; SCWCD




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: about EL-based JSTL

2003-01-19 Thread Henri Yandell


On Sun, 19 Jan 2003, Kishi Mikio wrote:

> But, because expression language is available in "only" JSTL,
> it is inconvenience. Also, expression language has some problems.

The nightly build of the String taglib ought to work in an EL environment.
I can add the same feature to the Log taglib's nightly build.

Would be interesting to hear which taglibs you'd want EL-ized.

> So, I have considered the use of not "EL-based JSTL" but "RT-based JSTL"
> in "all JSP parts" .
> Has it made a mistake in this strategy ?

[Have?]

I don't think so. You're just using the JSTL in the same style as all
taglibs have been used before. Nothing wrong there.

> Is it better to use "EL-based JSTL" ?

I think it's an architectual rather than technical decision. JSP 2.0 will
be EL-ised by default [as far as I know] so by using the EL-based JSTL now
you might get better forward compatibility. Then again, turning off the EL
is just a config option in the web.xml so it won't be very hard.

[I'm slowly putting together the JSP 2.0 world in my mind, so I may be way
off]

Hen


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




about EL-based JSTL

2003-01-19 Thread Kishi Mikio
Hi,

I have one question about JSTL (especially, expression language).
Now, I have restructed a system with Java2EE,
and considered the use of JSTL
and other tag libraries(jakarta-talibs) at that time.

But, because expression language is available in "only" JSTL,
it is inconvenience. Also, expression language has some problems.
For example, it is impossible to use a method invocation
except getter and setter (such as List#size()),
a method invocation with arguments, and so on.

So, I have considered the use of not "EL-based JSTL" but "RT-based JSTL"
in "all JSP parts" .
Has it made a mistake in this strategy ?
Is it better to use "EL-based JSTL" ?

Sincerely,

Mikio Kishi.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: