Dear friends of JSTL
I'm new to JSTL and looking for some ideas how to maintain collections with
JSTL and EL.
I have a bean with a List and a Map type property like this:
public class TestBean {
private List list = new ArrayList();
private Map
On Fri, 15 Nov 2002, Zaretzke, Peter wrote:
public void setList( String value ) {
list.add ( value );
}
does not work because it does not meet the parameter expectations (
List vs. String ) for beans. I know that I can write more setZZZ()
methods to add something
The Mailer taglib does not support the EL at this time. Supporting the EL
will require changes to the taglib.
Second, you can either hardcode attributes such as to, from, etc. in the mail
tag itself. Or you can set them dynamically by nesting the mt:setrecipient tag inside
the mt:mail tag. The
Zaretzke, Peter wrote:
[...]
But how to add a new items to the collections? I tried this
c:set target=${testbean} property=list value=${myvalue}/
But this bean method
public void setList( String value ) {
list.add ( value );
}
does not work because it does not meet the parameter
Hi,
Thans for the info. I will spend a bit more time reading the docs next time!
BTW: I found that it atleast supports some EL. I was able to use c:out and
it took.
If I wanted to reference an attached image file in the html portion of the
mail so that it would appear in the layout how would I
On Fri, 15 Nov 2002, Stefan wrote:
Hi,
Thans for the info. I will spend a bit more time reading the docs next time!
BTW: I found that it atleast supports some EL. I was able to use c:out and
it took.
Yeah, usually no-EL support means that the hack for Jakarta Standard
taglib hasn't been
I have the following piece of code in a .jsp file for having a link to send e-mail.
The code rendered as .html has + as blank spaces for the
mail Subject (TBS+-+An+unexpected+error+has+occurred).
Any idea how I can get regular spaces?
[I have tried nbsp; \u20
an I get the value as typed.]
Hello All,
I am hoping that someone can help me to get going with the SQL tags.
I'm trying to connect to a mysql database using tomcat4.1.12 and version
1.0.2 of the library.
Here's my JSP:
%@ taglib prefix=sql uri=http://java.sun.com/jstl/sql; %
%@ taglib prefix=c
It seems that if I specify a Locale(es) for the first invocation of a jsp,
I will get the appropriate output. Spanish Text for labels and headings.
However, if I access the same page with a different Locale(en) from
another browser, I still get the same output in Spanish.
It appears that the
John C Cartwright wrote:
Hello All,
I am hoping that someone can help me to get going with the SQL tags. I'm
trying to connect to a mysql database using tomcat4.1.12 and version
1.0.2 of the library.
Here's my JSP:
%@ taglib prefix=sql uri=http://java.sun.com/jstl/sql; %
%@ taglib prefix=c
10 matches
Mail list logo