You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vic Cekvenich <ne...@roomity.com> on 2005/09/09 22:52:52 UTC
ot: struts obsesed
http://jroller.com/page/RickHigh?entry=is_struts_dead_is_struts
Is he going to get over it?
I wonder who the #2 framework is?
.V
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: access session attribute with taglib
Posted by Tamas Szabo <sz...@gmail.com>.
Hi,
On 9/10/05, Tony Smith <qu...@yahoo.com> wrote:
>
> I have an attribute saved in session. In servlet, I
> can access it by
> request.getSession().getAttribute("my");
>
> In jsp, how can I access it without write java code? I
> am thinking about <bean:page>, but do not know how to
> use it.
>
> Thanks,
I presume you want to display a property of the bean:
Using JSTL:
<c:out value="{session.my.property}" />
or if you are sure that an attribue with the same name (my) is not set in
page and request scope:
<c:out value="{my.property}" />
JSP standard tags:
<jsp:useBean id="my" class="your.package.YourBeanClass" scope="session" />
<jsp:getProperty name="my" property="property" />
Struts tags:
<bean name="my" property="property" scope="session" />
Tamas
Re: ot: struts obsesed
Posted by Adam Hardy <ah...@cyberspaceroad.com>.
i was using past tense
Vic Cekvenich on 10/09/05 13:00, wrote:
> Looking at CVS and developer comments on the dev list I would say that
> by far, Struts development has never been more active by order of
> magnitude. 1.3 classic release is iminent (in "Struts" time).
>
> .V
>
> Adam Hardy wrote:
> it's just been fairly dormant.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
access session attribute with taglib
Posted by Tony Smith <qu...@yahoo.com>.
I have an attribute saved in session. In servlet, I
can access it by
request.getSession().getAttribute("my");
In jsp, how can I access it without write java code? I
am thinking about <bean:page>, but do not know how to
use it.
Thanks,
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: ot: struts obsesed
Posted by Vic Cekvenich <ne...@roomity.com>.
Looking at CVS and developer comments on the dev list I would say that
by far, Struts development has never been more active by order of
magnitude. 1.3 classic release is iminent (in "Struts" time).
.V
Adam Hardy wrote:
it's just been fairly dormant.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: ot: struts obsesed
Posted by Adam Hardy <ah...@cyberspaceroad.com>.
Vic Cekvenich on 09/09/05 21:52, wrote:
> http://jroller.com/page/RickHigh?entry=is_struts_dead_is_struts
>
> Is he going to get over it?
> I wonder who the #2 framework is?
As someone who has never really contributed much to struts except a few
bug reports, I feel slightly out-of-place saying this, but to a certain
extent he is correct, although really it is a matter of semantics, since
struts is not dead, it's just been fairly dormant.
Struts would have avoided the whole "struts is dead" thing by bringing
out more elegant solutions to certain problematic areas such as dropdown
boxes:
* dropdown box data setup & display
* dropdown box data request parameter handling (I'm thinking of
Hibernate when the DTOs don't have primary keys)
* i18n of dropdowns
* reference data cache
There are some great things happening in struts though and when they go
live, I'm sure it will shut a few people up. It'll be a case of "struts
is dead, long live struts!"
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org