and was looking at struts to get some examples.
one other question... are the ServletContext set/getAtribute calls
thread safe, or must i sync when i use them?
could craig or any other thread-safe aware developers out there speak to
these issues?
cheers,
chris
| chris wilson || web dev ||| [EMAIL
in 1.1) or a workaround for 1.0
to allow multiple controller servlets in a web app?
warm regards,
chris
| chris wilson || web dev ||| [EMAIL PROTECTED] || |
www.wondergeek.com | |
ted,
does the fact that no one is working on it mean that it will not be in a
1.1 release (i think craig hinted at this begin solved in 1.1 around the
time 1.0 was released) or just that it hasn't been addressed yet?
thanks,
chris
| chris wilson || web dev ||| [EMAIL PROTECTED
.
any idea as to what might be going on?
thanks for any help.
cheers,
chris
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com | |
see my comments below...
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com |
|
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 11:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Can I use a Map.Entry as a bean
ntage of some tomcat "magic" that seems to be
affecting their portability?
forgive me if this topic has been discussed before, i forgot where the
archive was, and wasn't able to search for this issue.
thanks for any insight.
cheerio,
chris
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com |
|
yeah, i tried that too. no difference...
thanks though,
chris
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com |
|
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 1:16 AM
To: [EMAIL PROTECTED]
Subject: Re
o the above two lines right? --
%= ((java.util.Map.Entry)pageContext.getAttribute("entry")).getKey() % -
%= ((java.util.Map.Entry)pageContext.getAttribute("entry")).getValue()
%br
/logic:iterate
/body
/html
## End display.jsp ##
| chris wilson || web dev ||| [EMAIL PROTEC
see my comments below...
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com |
|
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 3:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Can I use a Map.Entry as a bean
be solved, but i'd like to use only taglibs if possible and it seems
to me that the bean:write tag should do the same thing...
will bean:write only work on "bean-like" objects that are public? in this
case the object implementing the Map.Entry interface is an inner class in
TreeMap. is that ca
with an IllegalAccessException...
((java.util.Map.Entry)pageContext.getAttribute("subjectEntry)).getValue() //
this works!
if i use my own bean in the write tag, everything is dandy. it's just the
dang Map.Entry!
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com |
|
-Orig
be solved, but i'd like to use only taglibs if possible and it seems
to me that the bean:write tag should do the same thing...
what am i missing? thanks for any help!
cheerio,
chris
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com |
|
i believe that the first scope defines where the subjects beans is (in this
case, an attribute of the request) and the second one defines where the
subjectEntry bean is (created by the iterate tag, so it should only be page
scope)... right?
cheers,
chris
| chris wilson || web dev ||| [EMAIL
lly played with it? i'm interested in your thoughts if
you've seen it. how does it compare?
cheerio,
chris
| chris wilson || web dev ||| www.wondergeek.com || |
14 matches
Mail list logo