use a more specific syntax, along the lines of
x:registerNamespace prefix=... uri=... scope=... /
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:taglibs-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:taglibs-user-help
On Fri, 18 Oct 2002, Karr, David wrote:
This seems confusing, but I think the specification is reasonably
clear on this. I believe you need
${pageContext.request.contextPath} instead.
Right. There isn't any implicit 'request' object. It's named
'requestScope' to emphasize that it's used to
The Utility Taglib is old and out of date; it may contain bugs, and it
isn't maintained any longer. I strongly recommend looking at a more
modern offering like JSTL; our project's Standard Taglib provides a
compliant JSTL implementation.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
The specification for JSTL, which acts as authoritative documentation for
all of its features, is available through
http://java.sun.com/products/jstl
There are also several books about JSTL available.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL
agrees; functions do seem
safest for the moment, however.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
The goal, under this model, is for such tag libraries to complement JSTL
for a specific application's needs.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
2.0), and the fact that ${} still refers to an entire
expression, not a single variable reference.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
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, it just returns null.
Shawn, could you explain the motivation for this?
/jakarta-taglibs/releases/standard/
and read the release notes at
http://jakarta.apache.org/taglibs/doc/standard-doc/ReleaseNotes.html
Please let me know if you've got any questions.
--
Shawn Bayern
JSTL reference-implementation lead
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
On Thu, 10 Oct 2002, Stefan wrote:
So is there a way to extract a sub string from the result of a c:out
value=${}}/ tag?
No, not alone; you'd need to use the String Taglib or handle it with a
servlet or other custom Java logic (e.g., a bean or servlet).
--
Shawn Bayern
JSTL in Action http
.
No, not with the EL alone.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Tue, 1 Oct 2002, Holly, Michael wrote:
Is there not a method of sorting these to the way they were entered?
HashMap does not guarantee any order. You can use TreeMap for lexical
ordering (or LinkedHashMap in JDK 1.4 for order preservation).
--
Shawn Bayern
JSTL in Action http
into a HashMap.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Mon, 30 Sep 2002, Shawn Bayern wrote:
x:para name=c-cli value=${param[c_cli]} /
Oops - too much typing! There are two errors with the above tag; I really
meant to type:
x:param name=c-cli value=${param['c_cli']} /
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
of
tab attributes, as described in section 2.1.1.
--
Shawn Bayern
JSTL reference-implementation lead
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
from escaping these characters??
any help would be appreciated.
Sure - set the 'escapeXml' attribute of c:out to 'false:
c:out
value=${AdminProdAttrForm.genAttribs.html}
escapeXml=false /
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto
. There are also several books out on
JSTL, including mine (JSTL in Action).
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
, for particularly tricky problems, entire pages are useful, but
going through four pages takes a while, and it's not the most efficient
way to address a focused question.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
does not; JSTL does, by use of
an x:param subtag of x:transform. (The XTags Taglib does as well, if
you are stuck with a JSP 1.1 container.)
Hope that helps,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e
...
/html
Please let me know if you have any additional questions, and ensure that
you're using x:transform correctly: see the spec or the books that
describe how it works in detail.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
On Thu, 26 Sep 2002, Hao Ding wrote:
Does x:forEach have a attribute like 'status' of c:forEach? In
specification, x:forEach only has two attributes: 'var' and
'select'.
No, it doesn't. It arguably should; it's on our list for a future version
of JSTL.
--
Shawn Bayern
JSTL in Action
lets us build up a complex temporary key into
'types'; you can't concatenate strings in the JSTL EL, so the
concatenation must occur outside an expression -- in this case, in the
attribute value of c:set.
Hope that helps,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe
The XSL Taglib is out of date; it's better to use JSTL's standard support
for XML parsing and XSLT transformations.
See
http://jakarta.apache.org/taglibs
and
http://java.sun.com/products/jstl
for more information.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Tue, 24 Sep
flurstueckseigentuemer
mean? :)
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
missing something,
or do I need to do this all in scriptlet world and forget about JSTL
for this problem?
Tags, whether JSTL or not, cannot read scripting variables. Instead, you
need to make them scoped attributes, as with
% pageContext.setAttribute(coll, coll); %
--
Shawn Bayern
JSTL
the HttpServletRequest?
Yes, if you'd like to avoid creating that scriptlet. In JSP 2.0, you'd be
able to expose this as an EL function, but that feature is still in the
future.
I'd just write a simple taglib that passes on the call; it should involve
only a few lines of code.
Hope that helps,
--
Shawn Bayern
on your description, I believe you want the following instead:
${param[map.x]}
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
language. You
need to write
c:set target=${catalog} property=urlPrefix value=xxx /
Hope that helps,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
expression (e.g., $sessionScope:foo
and so forth).
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
. The methods are just a convenience provided by TagSupport; they
have nothing to do with the more generic Tag interface itself.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
, but off the top of
my head, a few things to look out for include a packageless class as your
tagclass or some other irregularity related to that mapping.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail
a
loop; thus, while we didn't dislike the idea, we found it to be
effectively unimplementable.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
] with the suggestion. Be sure
to indicate the situations where this would be useful to you, with as
specific examples as possible.
Best,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
). Note that JSTL has an
XML-manipulation library inspired mostly by XTags, so you might feel right
at home migrating to it.
Under JSP 2.0, EL expressions will work wherever rtexprvalues currently
work, so you'll be able to retrofit the EL to old tags automatically.
--
Shawn Bayern
JSTL in Action
also be able to define expression-language functions in
the TLD; this will let you access back-end methods as long as you've
declared them accessible.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail
, or arbitrary text. Note, however, that this logic will base
itself on the form of the data, not on its column's type.
Hope that helps,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
something like this:
public Collection getItems();
public int getSize();
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
a String or Reader, should point to a
javax.xml.transform.Source object. Source is just a thin wrapper for the
thing it wraps, so it shouldn't be too hard to supply one if you already
have a DOM.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto
and
expression language for manipulating data in databases and memory.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
fail for you? Could I see an
entire page?
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
it (including
Tomcat). For instance,
jndi:/localhost/myWebApp/foo.jsp
You're probably right that something spec'd through
ServletContext.getResource() might still have a use, though.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
The c:out tag has just the sort of 'default' attribute you suggest; you
can use it in conjunction with c:set and many other JSTL tags.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On 31 Aug 2002, David M. Karr wrote:
In building the Struts-EL tag library, I haven't ported Struts
. We considered the feature, but it wasn't a priority, and
nobody presented a compelling need for it. In JSP 2.0, you could
accommodate it with a function; it could also always be added in a future
version of JSP.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e
included with the distribution: you should install all the JARs that come
with the Standard Taglib.
If you're instead getting this error with the standard-examples.war file,
it's a little harder to explain. Make sure you have the most recent
(1.0.1) binary distribution.
--
Shawn Bayern
JSTL in Action
situation.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Interestingly enough, I'm inclined to think the answer is no. Even if
there's some creative way of doing it that eludes me, you're still not
even guaranteed to *have* a filesystem at runtime. So at best, a solution
would be implementation-specific or container-specific.
What do you need this
('webapps' under Tomcat); installing the JSTL JARs themselves
involves copying them under your application's WEB-INF/lib
directory. Which have you tried to do?
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e
No, that's basically the way to do it. You could always write a slightly
higher-level function to take advantage of the similarity in structure
between your calls, but I don't believe there's any mechanism that will
yield greater runtime efficiency.
Shawn
On 25 Aug 2002, David M. Karr wrote:
?
With JSTL:
c:set var=aux
xtags:valueOf select=XPath expression/
/c:set
jsp:useBean id=aux type=String /
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
the result in a string to use it in another xtags
expression, like this:
(...)
String menu = xtags:valueOf select=XPath expression/
Indeed, this is the form of the code that jsp:useBean translates to when
the JSP page undergoes translation.
--
Shawn Bayern
JSTL in Action http
recognize the
tags and optimize their implementations.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Right - if xtags:variable has an 'id' attribute, then you may simply use
it to expose a scripting variable. There isn't a need for jsp:useBean
if the tag directly exposes a scripting variable. (So that's your
answer!)
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Wed, 21 Aug
like to see this feature; the address is
[EMAIL PROTECTED]
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Wed, 21 Aug 2002, peter lin wrote:
I'm assuming you want to get at things like cookies, user-agent and
other http header data.
you may want to make a request
Well, the Jakarta Taglibs IO Taglib is a pretty good offering. I think
Mark was just hoping for a standard solution.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Wed, 21 Aug 2002, Henri Yandell wrote:
Isn't this the kind of thing that Jakarta Commons HttpClient specialises
: it allows for use
of the EL even beyond JSP pages. (And some extra baggage is necessary to
support JSP 2.0's notion of 'EL functions', which was added after JSTL
1.0.)
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
to support this from within JSP pages, instead of
Java-based components?
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Wed, 21 Aug 2002, Henri Yandell wrote:
I'm sure I could look this up myself, but it might be nice to have it
in the archives with this thread.
Which jar is needed if I want to add EL to my taglib. Without having
to include the whole JSTL implementation?
This is tricky and in flux. The
convenience and encumbrance.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Wed, 21 Aug 2002, peter lin wrote:
I'm not sure where it should reside to be honest. I can see argument for
both sides. If I wanted to access data that resides on an IIS machine
that has challenge/response turned
probably worthwhile for the expert group to look into it
further in the future.
And one more for the weekend, what would be the best way to get a
total sum of N numbers from a xml query (jstl of course)?
There is a standard XPath sum function; that may be what you're looking
for.
--
Shawn
projects, not all taglibs in general.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
are restricted to use in JSTL tags'
attributes.
In JSP 2.0, when the EL will be supported by JSP itself, you'll be able to
include EL expressions in jsp:include.
In the meantime, you'll need either to use c:import as a substitute for
jsp:include or use an rtexprvalue with jsp:include.
--
Shawn Bayern
On Mon, 12 Aug 2002, Ben Ramsey wrote:
In the meantime, you'll need either to use c:import
as a substitute for jsp:include or use an rtexprvalue
with jsp:include.
Can c:import include pages dynamically, or must the pages be static.
For example, I'm passing this querystring to the
=/somepath/myfile.xml var=xml/
I need something like
c:import url=E:/abc/somepath/myfile.xml var=xml/
and the above doesn't work.
Yes, you'd use a 'file' URL, as with a browser. For instance:
c:import url=file:///e:/abc/somepath/myfile.xml /
--
Shawn Bayern
JSTL in Action http
web.xml.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
that no blocks property was found -- either that no getBlocks()
method was found, the getBlocks() method was unsuitable for another reason
(e.g., accepting an argument, or having a setBlocks() method that doesn't
correspond to it in data type), or a BeanInfo overrides it.
--
Shawn Bayern
JSTL in Action
=${questions.rows}
c:set var=qType value=${rs.question_type} /
c:choose
c:when test=${qType == 1}
...
and so forth.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
What does
'c:out value=${rs.question_type} /'
output? (The outer quotes are there to make spaces more noticeable.)
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Fri, 2 Aug 2002, Dave Anand wrote:
Thanks for Responding; Well I did something like this, But the test always
to
numbers will fail, but String is useful as a mediator.)
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Fri, 2 Aug 2002, Dave Anand wrote:
it outputs 1
I think it has to do the fact 'rs.question_type' the type is an object.
In the older version of JSTL, I have do some thing like
The error you're experiencing is probably the result of an exception that
was thrown in the getBlocks() method. The error message does say, An
error occurred; this is different from Class XXX does not have property
YYY.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Fri, 2 Aug
And
c:if test=${rs.QUESTION_TYPE == '2'} ... /c:if
indicates the expression is false?
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Fri, 2 Aug 2002, Dave Anand wrote:
ok here is the actual code in my jsp - QUESTION_TYPE:[c:out
value=${rs.QUESTION_TYPE}/]
the output
No problem! Glad to hear it works,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Fri, 2 Aug 2002, Dave Anand wrote:
Nevermind, it was my stupid mistake
/c:
this never ever gave me an error, eveything was blank after that.
fixing this, fixed my problem, now
with.
The chapters cover the principles of web development, the JSTL expression
language, and the JSTL conditional tags.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mutable values, it's probably best to use regular
scoped attributes (which you can seed with values from parameters).
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
the issue doesn't get forgotten,
it'd be great if you submit a report at http://bugzilla.apache.org.
Thanks,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
that problem. Note that JSTL does require
a JSP 1.2 container, so you might get unusual errors if you try to use it
on a JSP 1.1 container. Try a page with the declaration alone (no
comments) to ensure that that's really the cause of the problem.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
Good - just wanted to make sure it wasn't a recent error in our
distribution.
Unfortunately, since I don't have access to Weblogic, it's hard for me
personally to try to address the problem. I poked around Usenet and the
web, and the only thing I could come across was the fact that another user
and 1.0.1; all future releases will
include matching source distributions.
Please let me know if you've got any questions,
--
Shawn Bayern
JSTL RI lead
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
coincide with Java's percentage formatting
(especially since you need a custom '+' before positive numbers), using a
custom pattern -- as you've done -- is probably your best bet.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
On Thu, 25 Jul 2002 [EMAIL PROTECTED] wrote:
Hi all
I
}
JSTL in Action describes this and other potential applications of the
EL. Hope that helps!
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
equivalence between the . and [] operators. Instead, it says:
expr-a.identifier-b is equivalent to a[identifier-b]
In your example, user-agent is not an identifier; valid identifiers are
defined in seciton A.8 to be Java language identifier[s], which cannot
contain -.
--
Shawn Bayern
JSTL
c:forEach var=test2 items=${test1[my_List]}
tr
tdc:out value=${test2.my_StringB}//td
/tr
/c:forEach
/c:forEach
/table
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
On Thu, 18 Jul
/1930110529 )
Also, some sample chapters are online at the first URL above, if you want
to take a look. I told Manning to put up two free chapters that contain
lots of sample code, and they agreed.
Again, sorry for the shameless plug -- just thought it might be useful to
y'all.
--
Shawn Bayern
a check following the call to evalNotNull() along
the lines of:
if (!(collection instanceof Map) . . .)
throw new JspTagException(need a Map or a . . . );
Otherwise, it should work just as you expect.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning
, but an
interface does not provide this protection.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
} using c:out to ensure that
they really have the values you expect. (Also, as a simplifying step and
a way to eliminate potential errors, you can combine
c:setc:import//c:set into a single c:import var=... /.)
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from
} will tell you whether the session is new, per
the Servlet spec, if that's what you're asking.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto
On Wed, 17 Jul 2002, Kan Ogawa wrote:
Is it possible to use EL implementation of Standard Taglib in JSP 1.1
container ???
No. JSTL's features require JSP 1.2, and so the Standard Taglib's
implementation depends on 1.2 as well.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
Ruud,
The XSL Taglib is no longer supported; use the Standard Taglib, which is
an implementation of the JSP Standard Tag Library (JSTL) instead.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
On Mon, 15 Jul 2002 [EMAIL PROTECTED] wrote
or
elsewhere.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
]} /
/c:forEach
If you're looking for something else, please feel free to clarify. Hope
this helps,
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail
that type. (E.g., you might be setting an integer in to a SQL TIMESTAMP
field.) Without more information, it'll be hard to diagnose the problem
further.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail
=${xml} xslt=${xslt}/
You cannot use rtexprvalues in the EL versions of JSTL tags. Replace the
second line with the following:
c:import url=${param.xmlReq} var=xml /
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e
this:
x:transform xslt=${xslt} url=...S...
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
that these variables don't match. c:set exposes a
variable called 'xsl', but you're using ${xslt} in x:transform. Use
${xsl} instead and you should be fine.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL
of your web application.
did s.o. know where i can find the library documentation?
This depends on whatever individual library you want to install. For
JSTL, you just need to include all the JARs that are distributed in the
binary distribution.
--
Shawn Bayern
JSTL in Action http
of those if you're
not interested in XML. It's usually best to keep everything together,
though, so you don't have to worry about using any of JSTL's features; you
might decide something that you have no interest in now is interesting
later.)
--
Shawn Bayern
JSTL in Action http
was this:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
you look
at JSTL (for which Jakarta's Standard Taglib is an
implementation) instead.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002 from Manning Publications)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
implementation of
JSTL, distributed through Jakarta Taglibs. Other vendors (including Sun)
have their own implementations available, or will shortly. For instance,
I believe the Resin folks are working on a JSTL implementation.
--
Shawn Bayern
JSTL in Action http://www.jstlbook.com
(coming in July 2002
stores.
Manning, as an enlightened publisher, will soon be making the PDFs for the
entire book available online for free. I think this will happen sometime
this week or early next week. That should really help get the word out
about JSTL, I think.
--
Shawn Bayern
JSTL in Action http
101 - 200 of 416 matches
Mail list logo