I think that the simplest and fastest way to solve your problem is to edit the tld and change it to allow runtime
expressions.
Marc.
Arora, Avinash wrote:
Thanks Martin for your suggestion. The setrecipient tag that you have
mentioned below works fine. But it has a limitation, it can be used
http://java.sun.com/products/jsp/jstl/
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html
http://www.jadecove.com/jstl-quick-reference.pdf
hth
Chris McCormack
-Original Message-
From: Martin Nad [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 10:16
To: [EMAIL PROTECTED]
Hi,
you can start here: http://jakarta.apache.org/taglibs/
Martin Nad wrote:
Hello!
I have some idea to use jslt But I don't know which
tag is support in the jslt.
I have tried to find some documentation aobout the
tag-list, But i couldent find any.
And i wonder where i can find
There are several JAR files with the JSTL distribution. If i just drop them all
into my lib directory then Tomcat complains and marks the context as invalid.
So, which jar files are required to get started with XML?
Thank,
--
***
* Rick Roberts
If you use the latest Tomcat 5.0.19 and 1.4.2x java, you don't really
need any, but if you are using older versions, then try these for
starters:
jaxp-api.jar
dom.jar
sax.jar
xercesImpl.jar
Then if it seems to work, but complains about a missing class, you can
look for the missing class and add
Do you mean that the Tomcat 5.0.19 has support the
xml-tld as default?
Is it the same as other tags (as sql and so on)?
/martin
--- Johnson, Chris [EMAIL PROTECTED] wrote:
If you use the latest Tomcat 5.0.19 and 1.4.2x java,
you don't really
need any, but if you are using older versions, then
Yes, for the standard JSTL tag libraries (core, format/int., sql, xml,
EL functions). I'm running Java 1.4.2_03, tomcat 5.0.19 and JSTL 1.1.
All I had to do was to add standard.jar and jstl.jar to my WEB-INF/lib
directory. You don't have to edit your web.xml either.
Chris
-Original
David Schwartz wrote:
Is it possible to output values from a query result that has only one row -
without usinf c:forEach?
For example, I have many queries that will only return one row. Currently,
if I want to output a column value I do...
c:forEach items=${myQuery.rows} var=row varStatus = stat
This may be a rather simple question. But i couldn't find any info
online (maybe i'm looking in the wrong places).
I'd like my jsp page to be able to access it's URL. What i mean is
this:
If i arrived at test.jsp by going to
http://mydomain.com/test.jsp?id=1s=2, then i would like to know how
Anuj Agrawal wrote:
This may be a rather simple question. But i couldn't find any info
online (maybe i'm looking in the wrong places).
I'd like my jsp page to be able to access it's URL. What i mean is
this:
If i arrived at test.jsp by going to
http://mydomain.com/test.jsp?id=1s=2, then i would
I will do some reading.
Yes, prior to incorporating the use of the fmt:formatDate
tag all was Ok, English was english and Japanese was,
well, Japanese. I will read, but it seems poor behavior
that the fmt:formatDate tag might hve a side effect like
this, leaving the char set different after the
One more bit of information. I can make only very limited
use of resource bundles because the Japanese text comes
out of Oracle, and the overall quantity of text (in 8 languages)
is too large (~8 GB, of just text). Most is simlply embedded in
the pages.
On Wed, 2004-03-31 at 22:49, Martin van
[EMAIL PROTECTED] wrote:
I've had some trouble getting Tomcat 4.x to work with JSTL. On a separate
machine I've installed Tomcat 5.x and have successfully used JSTL. The
problem know is that I don't remember what I did. Does JSTL come standard
with Tomcat 5.x? Is that why it worked for me?
Still not working.
If I only have jstl.jar and standard.jar in my lib directory then I get this
error message:
org.apache.jasper.JasperException: org/saxpath/SAXPathException
at org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
at
Throw in saxpath.jar.
-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 1:48 PM
To: Tag Libraries Users List
Subject: Re: Which jar file supports the XML tld?
Still not working.
If I only have jstl.jar and standard.jar in my lib directory
I mentioned saxpath.jar in my previous message.
Tomcat marks the context as unavailable which leads me to believe that Tomcat
already has a saxpath.jar available to it from somewhere and the new one is
causing a conflict.
Johnson, Chris wrote:
Throw in saxpath.jar.
-Original
I was looking for a way to do it via taglib, not using scriptlets. Did
i misunderstand your suggestion?
Thanks.
Anuj.
--- Serge Knystautas [EMAIL PROTECTED] wrote:
Anuj Agrawal wrote:
This may be a rather simple question. But i couldn't find any info
online (maybe i'm looking in the wrong
Can you paste some of your code in where you are using xpath expressions
(in select attributes)?
-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 1:55 PM
To: Tag Libraries Users List
Subject: Re: Which jar file supports the XML tld?
I
Thanks for the reply. I am looking on help with Tomcat 5.x. I was trying
for a while on Tomcat 4.x with no luck. We are building a new server so I'm
installing 5.x. This is why I had questions for 5.x.
What I found out today is:
No. Tomcat 5.x does not have jstl as a part of it, you need to
*---*
This is my JSP file:
*---*
[EMAIL PROTECTED] contentType=text/html%
%@ taglib uri=/jstl/core prefix=c %
%@ taglib uri=/jstl/xml prefix=x %
html
headtitleXML Rolodex/title/head
body
c:import var='rolodex_xml' url='rolodex.xml'/
x:parse var='document' xml='${rolodex_xml}'/
pThere are
x:out
I'm using jstl 1.2 with tomcat 4.1.24
Using the EL, is there a way to search for a string within a string?
For example, I want to find there in the string hello there world.
(something like indexOf(String str) )
David Schwartz
Rick,
Can you get the entire stack trace of that error?
-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 2:17 PM
To: Tag Libraries Users List
Subject: Re: Which jar file supports the XML tld?
*---*
This is my JSP file:
*---*
[EMAIL
If you use jstl 1.1 (the newest--there isn't a 1.2), then you can use
the EL functions. There are two functions to do what you want:
fn:contains and fn:containsIgnoreCase.
-Original Message-
From: David Schwartz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:03 PM
To:
I made a mistake - using jstl 1.0
BTW - can I use 1.1 with Tomcat 4.1.24?
David Schwartz
Array Software Inc.
www.arrayone.com
-Original Message-
From: Johnson, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:43 PM
To: Tag Libraries Users List
Subject: RE: Finding a
No. It has to be run in a Servlet 2.4/JSP 2.0 capable container.
-Original Message-
From: David Schwartz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:11 PM
To: 'Tag Libraries Users List'
Subject: RE: Finding a string within a string
I made a mistake - using jstl 1.0
BTW
Howdy,
I am trying to use the EL function c:out value=${fn:replace(col,
'_','')/
I put jstl.jar and standard.jar in WEB-INF/lib,
I put
%@ taglib prefix=sql uri=http://java.sun.com/jstl/sql; %
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
at the top of my page
and all core and sql
You have to be using JSTL 1.1.
-Original Message-
From: John MccLain [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:02 PM
To: taglibs user list
Subject: Can't ue EL Funcations
Howdy,
I am trying to use the EL function c:out value=${fn:replace(col,
'_','')/ I put
where do I get it and how is it implemented differently??
-Original Message-
From: Johnson, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 1:03 PM
To: Tag Libraries Users List; [EMAIL PROTECTED]
Subject: RE: Can't ue EL Funcations
You have to be using JSTL 1.1.
http://mirrors.xtria.com/apache/jakarta/taglibs/standard/
There should be a README that talks about installation.
-Original Message-
From: John MccLain [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:10 PM
To: Tag Libraries Users List
Subject: RE: Can't ue EL Funcations
Hello All,
I was trying to use Dyanmic forms with my struts application. However the page
blows up with the following
exception
javax.servlet.jsp.JspException: Exception creating bean of class
org.apache.struts.validator.DynaValidatorForm: {1}
Got prohibited content email, so sending mail again.
Hello All,
I was trying to use Dyanmic forms with my struts application. However the page
blows up with the following
exception
javax.servlet.jsp.JspException: Exception creating bean of class
Since this is a Struts issue, it should be taken up on the struts-user list
rather than here. However, since this looks like it could be a bug, please
file a bug report against the Struts taglibs instead, here:
http://issues.apache.org/bugzilla/
--
Martin Cooper
-Original Message-
-Original Message-
From: David Schwartz [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 1:03 PM
To: Jakarta Taglibs help (E-mail)
Subject: Finding a string within a string
I'm using jstl 1.2 with tomcat 4.1.24
Using the EL, is there a way to search for a string within
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Wednesday, March 31, 2004 6:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Novice question about using Constants in when tags
Good question, Jeff. Unfortunately, there is not a direct way of doing
-Original Message-
From: Anuj Agrawal [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:58 AM
To: Tag Libraries Users List
Subject: Re: finding current page's URL
I was looking for a way to do it via taglib, not using scriptlets. Did
i misunderstand your suggestion?
-Original Message-
From: Lorenzo Sicilia [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 6:17 AM
To: Tag Libraries Users List
Subject: jstl read raw data
hi list,
I need read some xml data in post.
I have found some example in jsp that show raw data post:
36 matches
Mail list logo