Re: Parsing problem

2003-09-06 Thread David M. Karr
/j2ee; Ely xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; The 1.1 version of the JSTL doesn't work with Tomcat 4.x. use the 1.x version of the JSTL. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED

Re: can't reference a class file (field) with el?

2003-08-14 Thread David M. Karr
the archives of this list for numerous discussions about this very point. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD

Re: Going nuts with JSTL tag lib installation

2003-06-01 Thread David M. Karr
to be down right now. Try opening up the jstl.jar file and inspecting the TLD file in the META-INF directory. That should specify the URI it expects. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP

Re: Any logic:notPresent equivalent tag(s) in JSTL

2003-03-28 Thread David M. Karr
performance. It is better to Vernon have something like the Struts logic:notPresent tag. Is something equivalent in JSTL? The following has close to the same semantics: c:if test=${empty expr} -- === David M. Karr ; Java

Re: JSTL okay with get method, but no set method?

2003-03-14 Thread David M. Karr
but a null write method, and it did all this without bombing, then the EL will probably be fine with it. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD

Tag libraries that use ExpressionEvaluator depend on Jakarta implementation

2003-03-05 Thread David M. Karr
, and not the Java api, then another JSTL implementation could use a completely different class. I'm not complaining, I just want to make sure I'm clear on that point. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL

Re: c:out

2003-03-02 Thread David M. Karr
and then the Sloan getter symbol and so on. Sloan How do I get around this so that it works? Try: value='${sessionScope[com.symbol.mobilecommerce.analysis.SESSION_USER].firstName}' -- === David M. Karr ; Java/J2EE/XML/Unix/C

Re: EL case sensitivity

2003-02-28 Thread David M. Karr
property name would be poNumber, but you could either examine the JavaBeans specification, or perhaps write some testing code using the Introspector class, to get the answer from the horse's mouth. -- === David M. Karr ; Java

Re: forEach Problem

2003-01-20 Thread David M. Karr
tag. Alejandra I suppose that it should be like in Java that runs the loop once. Alejandra This is a bug or it's not possible to use a foreach only to run once. Just make end equal to ${latestYear + 1}. -- === David M. Karr

Re: about EL-based JSTL

2003-01-19 Thread David M. Karr
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: mailto

Re: How to insert a string into a tag parameter

2003-01-08 Thread David M. Karr
this? If those values are coming from request parameters, than you can use the EL syntax to reference request parameters directly: c:import var=shareweb url=${param.xmlfile} / -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL

Re: invoking a JSP or servlet

2002-12-10 Thread David M. Karr
? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: rtexprvalue and EL

2002-11-26 Thread David M. Karr
a scoped attribute and then c:if (I think that would work). -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: [standard] nested forEach tags?

2002-11-23 Thread David M. Karr
? Does anyone see anything wrong with this? The typo you refer to is in the first c:forEach. The line ends with /. That's why the second /c:forEach ended up in the output. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL

Re: Getting values from a Map in JSTL-EL

2002-11-22 Thread David M. Karr
(String key) Affan How do I use this method using EL? You can't. This kind of expression (called mapped properties) is supported by the Jakarta Commons BeanUtils package, but not with the JSTL. -- === David M. Karr

Re: [jstl] jsp:forward ideas

2002-11-07 Thread David M. Karr
-- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP -- To unsubscribe, e-mail: mailto:taglibs-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:taglibs-user-help;jakarta.apache.org

Re: [jstl] jsp:forward ideas

2002-11-07 Thread David M. Karr
Henri == Henri Yandell [EMAIL PROTECTED] writes: Henri On 7 Nov 2002, David M. Karr wrote: Just use different quotes at the other level: jsp:forward page=somePage.jsp jsp:param name=id value='c:out value=${param.id}/'/ /jsp:forward Henri Nope, not happy. I had

Re: JSTL that uses java.net.URLEncoder.encode

2002-10-19 Thread David M. Karr
URL Related Actions, which talks about building urls and encoding parameters. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:taglibs-user-unsubscribe;jakarta.apache.org

Re: utility taglib, basic looping

2002-10-16 Thread David M. Karr
with the fact that you're not CDATAing your scriptlet content. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: ExpressionUtil.evalNotNull doesn't return NAE on null value

2002-10-13 Thread David M. Karr
Shawn == Shawn Bayern [EMAIL PROTECTED] writes: Shawn On 13 Oct 2002, David M. Karr wrote: In particular, I see that the NullAttributeException is thrown if the expression string was not null, but the resulting value was null. However, if the expression string was null

Re: incorporating EL support

2002-09-12 Thread David M. Karr
); } -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Diff. between logic:equals and EL eq between null and

2002-09-01 Thread David M. Karr
that comparing a null-valued SV against would return true. Is there something wrong here, either with the implementation or the spec? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail

Is it meaningful that there are no default values?

2002-08-31 Thread David M. Karr
? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Is it meaningful that there are no default values?

2002-08-31 Thread David M. Karr
. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Any way to import file as a resource?

2002-08-31 Thread David M. Karr
. I need this to work for other files besides XML files, so an identity transform with x:transform wouldn't be sufficient. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto

Re: Any way to import file as a resource?

2002-08-31 Thread David M. Karr
I'll have to track it in the debugger. I don't see what could be wrong. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

No indexed access ala Struts?

2002-08-31 Thread David M. Karr
way. Is that correct? I've tried some experiments and gone through the EL syntax, and I don't see anything like this. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto

Re: Any way to import file as a resource?

2002-08-31 Thread David M. Karr
David == David M Karr [EMAIL PROTECTED] writes: Martin == Martin Cooper [EMAIL PROTECTED] writes: Martin I'm not sure why you say c:import won't work. You can do this, which I Martin think is what you want: Martin c:import var=xml url=/WEB-INF/web.xml/ David Hmm. That wasn't

Best way to evaluate several expressions at once?

2002-08-25 Thread David M. Karr
this. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How to use JSTL engine to evaluate exprs in a context?

2002-08-19 Thread David M. Karr
David == David M Karr [EMAIL PROTECTED] writes: David Alternatively, I'd also like to consider the possibility of the form bean being David REALLY implicit, not referencing it explicitly in the expression at all, but I David don't understand how I could manage that. I think I now

Status on Struts-EL

2002-08-18 Thread David M. Karr
setCollectionExpr() or something like that, which I can map into the base class setCollection() method. I'd appreciate any useful comments or suggestions. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED

Building JSTL with JDK 1.4 (minus jaxp-api.jar)?

2002-08-03 Thread David M. Karr
I was experimenting with building the JSTL from source, but I noticed it doesn't deal properly with building with JDK 1.4, as it requires the presence of jaxp-api.jar, which I believe is part of JDK 1.4. -- === David M. Karr

Re: Off-topic: Deploy compiled JSPs

2002-07-31 Thread David M. Karr
that fragment with a shell or perl script. And don't forget to exclude your JSP pages from the final WAR file, as you don't need them anymore (and as proof your process is working). -- === David M. Karr ; Java/J2EE/XML/Unix/C

Warning about slight non-equivalence between . and []

2002-07-22 Thread David M. Karr
if you're using the JSTL expression engine itself, as opposed to using the JSTL tag library). -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Warning about slight non-equivalence between . and []

2002-07-22 Thread David M. Karr
Shawn == Shawn Bayern [EMAIL PROTECTED] writes: Shawn On 22 Jul 2002, David M. Karr wrote: The specification states that the . and [] operators are equivalent. This is essentially true. However, it would be useful to point out there are some situations where you could get

Re: foreach strangeness...

2002-07-17 Thread David M. Karr
Even better, if you use the non-rt library: c:forEach var=genre items=${utilBean.genres} c:out value=${genre}/ /c:forEach -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail

Re: Is any way to generate a Key dynamicaly?

2002-06-27 Thread David M. Karr
). -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: FIFO ordering of input:select tag options

2002-04-10 Thread David M. Karr
. I haven't used this, I just noticed it in the release notes. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: JSTL Struts

2002-04-06 Thread David M. Karr
(this is set in the forward element in your struts-config.xml file)? I would think this would only have a chance to work if redirect was false on that element. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED

Re: Taglibs and included pages

2002-04-03 Thread David M. Karr
get away with leaving out the taglib declarations in the included pages if they were included with the directive, but not if they were included with the action. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED

Re: Error using JSTL

2002-03-29 Thread David M. Karr
org.apache.taglibs.standard.lang.jstl.parser.ParseException: Encountered : Thomas at line 1, column 6. Could you show us the entire JSP, or at least the beginning of it, including this line? -- === David M. Karr ; Java/J2EE/XML/Unix/C

Re: Error using JSTL

2002-03-29 Thread David M. Karr
-- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Error using JSTL

2002-03-29 Thread David M. Karr
for those attributes are ones that really need them, the ones that have the values stored in scoped variables. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Can you test for a cookie's value using c:if tag?

2002-03-29 Thread David M. Karr
(likely). -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How do you download the XSL taglib for windows?

2002-03-28 Thread David M. Karr
. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: loading a singleton class in jsp

2002-02-21 Thread David M. Karr
it into session scope, you get essentially the same behavior. You might even consider using application scope. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL

Re: [standard] examples won't work

2002-01-01 Thread David M. Karr
. -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]