PROTECTED] wrote:
From: Kris Schneider [EMAIL PROTECTED]
Subject: Re: JSTL XML ---org/apache/xpath/XPathException
To: Tag Libraries Users List taglibs-user@jakarta.apache.org
Date: Monday, 14 July, 2008, 10:49 PM
Can you provide some more details about how you're using the tag and
which app server
. cant these jars workout
if they are placed in tomcat/common/lib directory ??
Thanks Regards
Rajasekhar
--- On Tue, 15/7/08, Kris Schneider [EMAIL PROTECTED] wrote:
From: Kris Schneider [EMAIL PROTECTED]
Subject: Re: JSTL XML ---org/apache/xpath/XPathException
To: Tag Libraries Users List
PROTECTED] wrote:
From: Kris Schneider [EMAIL PROTECTED]
Subject: Re: JSTL XML ---org/apache/xpath/XPathException
To: Tag Libraries Users List taglibs-user@jakarta.apache.org
Date: Tuesday, 15 July, 2008, 7:43 PM
Make sure that you have *both* Xerces and Xalan installed. You can put
the JARs
Can you provide some more details about how you're using the tag and
which app server and version you're using?
On Mon, Jul 14, 2008 at 10:49 AM, Rajasekhar [EMAIL PROTECTED] wrote:
Hi
I have used xml tags of jstl in my jsp. but it throwing errors like the
following..How can I get rid of it.
CC'ing OP since I moderated the message.
Rajasekhar - Please see response below. Also, please subscribe to this
mailing list before posting. Details:
http://jakarta.apache.org/site/mail2.html#Taglibs
-Rahul
On 7/14/08, Kris Schneider [EMAIL PROTECTED] wrote:
Can you provide some more
[EMAIL PROTECTED] wrote:
From: Kris Schneider [EMAIL PROTECTED]
Subject: Re: JSTL XML ---org/apache/xpath/XPathException
To: Tag Libraries Users List taglibs-user@jakarta.apache.org
Date: Monday, 14 July, 2008, 10:49 PM
Can you provide some more details about how you're using the tag and
which app
Problem solved another way around: JSP which returns an XSL-Stylesheet.
Wadim Kruse wrote:
Hi,
I wasn't able to figure out, how to concat two variables (xml-document and
xpath-expression).
The documentation says that XPathExpression in x:set var= select=
should be a string literal...
with both Xalan 2.7.0 and 2.5.0 I now get the error
WARN: Unhandled exception
org.apache.jasper.JasperException: Exception in JSP: /index.jspx:102
100:c:import var=rssFeed
url=http://www.expasy.org/spotlight/index.xml/
101:x:parse var=rss xml=${rssFeed}/
102: x:out
Thanks Kris,
x:parse tag is now silent :-)
however, I can't get x:out to output anything, it throws
ERROR: Nested in javax.servlet.ServletException:
javax.servlet.jsp.JspException: org/apache/xpath/XPathException:
java.lang.NoClassDefFoundError: org/apache/xpath/XPathException
I read
Hi Isabelle,
Can you send code where u r using for output?
Regards,
zuber
On 4/20/07, Isabelle Phan [EMAIL PROTECTED] wrote:
Thanks Kris,
x:parse tag is now silent :-)
however, I can't get x:out to output anything, it throws
ERROR: Nested in javax.servlet.ServletException:
Isabelle Phan wrote:
Thanks Kris,
x:parse tag is now silent :-)
however, I can't get x:out to output anything, it throws
ERROR: Nested in javax.servlet.ServletException:
javax.servlet.jsp.JspException: org/apache/xpath/XPathException:
java.lang.NoClassDefFoundError:
For now, try removing session=false from your page directive.
Isabelle Phan wrote:
with both Xalan 2.7.0 and 2.5.0 I now get the error
WARN: Unhandled exception
org.apache.jasper.JasperException: Exception in JSP: /index.jspx:102
100: c:import var=rssFeed
http://issues.apache.org/bugzilla/show_bug.cgi?id=35216
This has been fixed but not yet released.
Kris Schneider wrote:
For now, try removing session=false from your page directive.
Isabelle Phan wrote:
with both Xalan 2.7.0 and 2.5.0 I now get the error
WARN: Unhandled exception
Are you sure you're properly declaring the x taglib? It almost looks like
x:parse is being treated as a plain XML element and ${rssFeed} is simply
evaluated and used for the value of the xml attribute. Can you view the
source of the generated page?
Isabelle Phan wrote:
My problem: x:parse is
Hi Kris
the x taglib is declared like other jstl libraries:
xmlns:x=jstl-xml
it follows the taglib declarations in web.xml, but from the output you are
right, it seems like the tag is ignored:
x:parse escapeXml=true xml=?xml version=1.0 encoding=ISO-8859-1?
etc...
I have the vague
this is the complete declaration in the JSP:
jsp:root
xmlns=http://www.w3.org/1999/xhtml;
xmlns:jsp=http://java.sun.com/JSP/Page;
xmlns:tags=urn:jsptagdir:/WEB-INF/tags/
xmlns:c=jstl-core
xmlns:fmt=jstl-fmt
xmlns:x=jstl-xml
You don't need those taglib entries in web.xml. Remove them and use the
proper JSTL 1.1 URIs:
jsp:root xmlns:jsp=”http://java.sun.com/JSP/Page”
xmlns:c=http://java.sun.com/jsp/jstl/core;
xmlns:fmt=http://java.sun.com/jsp/jstl/fmt;
On 11/14/06, Rashmi Rubdi [EMAIL PROTECTED] wrote:
May be if there are languages other than HTML that JSTL works with then, having
an unescaped ampersand
makes sense if those other languages require an unescaped ampersand. But I
don't know if there are other languages
at this point.
?! Uh,
- Original Message
From: Trenton D. Adams [EMAIL PROTECTED]
Just out of curiosity, is JSTL supposed to do encoding by default?
I don't know that.
The W3C specs for a link in both HTML and XHTML mention that the ampersand
should be escaped as in
a
Yup, that totally makes sense to me.
-Rashmi
- Original Message
From: Hassan Schroeder [EMAIL PROTECTED]
To: Tag Libraries Users List taglibs-user@jakarta.apache.org
Sent: Tuesday, November 14, 2006 8:42:14 AM
Subject: Re: JSTL 1.1.2 c:url problem?
On 11/14/06, Rashmi Rubdi [EMAIL
Yeah, I suppose that's a good reason not to have an escaped output.
Thanks for the info.
Hassan Schroeder wrote:
On 11/14/06, Rashmi Rubdi [EMAIL PROTECTED] wrote:
May be if there are languages other than HTML that JSTL works with
then, having an unescaped ampersand
makes sense if those
- Original Message
From: Mikolaj Rydzewski [EMAIL PROTECTED]
To: Tag Libraries Users List taglibs-user@jakarta.apache.org
Sent: Monday, November 13, 2006 2:59:21 AM
Subject: Re: JSTL 1.1.2 c:url problem?
Trenton D. Adams wrote:
Is c:url supposed to encode your ampersands?
Unfortunately
option requires the functions Tag Lib.
%@ taglib prefix=fn uri=http://java.sun.com/jsp/jstl/functions%
-Rashmi
- Original Message
From: Mikolaj Rydzewski [EMAIL PROTECTED]
To: Tag Libraries Users List taglibs-user@jakarta.apache.org
Sent: Monday, November 13, 2006 2:59:21 AM
Subject: Re
Trenton D. Adams wrote:
Is c:url supposed to encode your ampersands?
Unfortunately not. I have raised such case a few weeks ago:
http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-user/200609.mbox/[EMAIL
PROTECTED]
It's not a problem to build your own patched jstl version.
--
Mikolaj
I suggest you remove the if it is actually in your JSP.
Also, change this: core:out value=${languaje.descripcio}:/
to this: core:out value=${languaje.descripcio}/:
This may also also be a problem: webLangId${languaje.codi}
Try ${ 'webLangId' + languaje.codi }
If you're using
Steve Duran wrote:
I suggest you remove the if it is actually in your JSP.
Might be the result of a CVS/SVN merge. Make sure to clean up any
outstanding conflicts.
For the message:
According to TLD or attribute directive in tag file, attribute items does
not accept any expressions
On 11/7/06, Kris Schneider [EMAIL PROTECTED] wrote:
snip/
For the message:
According to TLD or attribute directive in tag file, attribute items does
not accept any expressions
That seems to point to the forEach tag. Make sure the version of JSTL
matches the version of JSP and type of web.xml
At 02:04 PM 7/12/2006, you wrote:
I am using JSTL c:out tag to print server messages into HTML pages. However
some of the messages contains apostrophe. Due to special chars the JSTL c:out
tag was breaking. The following message from server breaks c:out tag.
Invalid datastore path
How do I filter the input? The messages are coming from server via SOAP
adapters. Can you explain more in detail. Thanks for the tip.
-Original Message-
From: William Ross [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 5:20 PM
To: Tag Libraries Users List
Subject: Re: JSTL
At 06:19 PM 7/12/2006, you wrote:
How do I filter the input? The messages are coming from server via SOAP
adapters. Can you explain more in detail. Thanks for the tip.
The adapter is consuming messages from a server, but
you don't specify what the server is; never the less,
unless you're
Quoting Chandra Avutu [EMAIL PROTECTED]:
I am using JSTL c:out tag to print server messages into HTML pages. However
some of the messages contains apostrophe. Due to special chars the JSTL
c:out
tag was breaking. The following message from server breaks c:out tag.
Invalid datastore path
Bob Arnott boba at aungate.com writes:
Also, don't put any tag library defines in the web.xml... Other than
that, it's always worked for me...
Why don't you include the library defines in the web.xml? All the documentation
I read tell me to do it.
But when I do, it doesn't work. (The
March 2006 10:56
To: Tag Libraries Users List
Subject: Re: JSTL startup question
Kevin Passey wrote:
[snipped...]
Would anybody be so good as to comment.
Open standard.jar that came with JSTL1.1.2 zip, browse to the
META-INF folder and open c.tld. In there near the top you'll
see a tag
in the distribution has /jsp/ in the url.
Thanks
Kevin
-Original Message-
From: Bob Arnott [mailto:[EMAIL PROTECTED]
Sent: 29 March 2006 10:56
To: Tag Libraries Users List
Subject: Re: JSTL startup question
Kevin Passey wrote:
[snipped...]
Would anybody be so good as to comment
Kevin Passey wrote:
Well I am new to this so bear with me.
I am using Tomcat5.0.28 and jdk1.5.xx so can I assume that it would be 2.4.
What's confusing me is that I have written a test page without the /jsp/ and
it works - with the /jsp/ it literally prints the variables to the screen.
The
14:16
To: Tag Libraries Users List
Subject: Re: JSTL startup question
Kevin Passey wrote:
Well I am new to this so bear with me.
I am using Tomcat5.0.28 and jdk1.5.xx so can I assume that it would be
2.4.
What's confusing me is that I have written a test page without the /jsp/
and
it works
Kevin Passey wrote:
Ha - I'm also using Websphere application developer and it does not
recognise the version attribute.
Maybe that's my problem - it is v5.1.0
Do you use and IDE - and would you recomend one?
The ultimate test of any webapp is the ability for it to be edited in a
text
OK Bob - thanks for the advice.
I'll probably switch to Netbeans myself.
-Original Message-
From: Bob Arnott [mailto:[EMAIL PROTECTED]
Sent: 29 March 2006 15:30
To: Tag Libraries Users List
Subject: Re: JSTL startup question
Kevin Passey wrote:
Ha - I'm also using Websphere
On 3/16/06, Luca Passani [EMAIL PROTECTED] wrote:
Martin Cooper wrote:
Not with just EL, but see:
http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/index.html#instanceOf
that seems powerful. Thanks. Is there an example of usage somewhere?
how do I combine this with
I have the following case:
(1) I have an framework application which has
framework resource bundle which sits in a jar file and
also some framework jsps like header / footer etc..
(2) I have an application which uses the framework jar
file and copies the framework jsp files over and has
its own
On 12/23/05, hong yuan [EMAIL PROTECTED] wrote:
I have the following case:
(1) I have an framework application which has
framework resource bundle which sits in a jar file and
also some framework jsps like header / footer etc..
(2) I have an application which uses the framework jar
file and
On 11/25/05, Luca Passani [EMAIL PROTECTED] wrote:
Hi guys,
Is there a way to test for file existence with JSTL?
I don't believe so, and I'd be rather surprised if there was. Remember that
there is no guarantee that there even *is* a file system in a webapp
environment, so providing access
Martin Cooper wrote:
I don't believe so, and I'd be rather surprised if there was. Remember that
there is no guarantee that there even *is* a file system in a webapp
environment, so providing access to such a thing in a standard way doesn't
really make sense.
Of course, you can always create
Hi Michael,
Did you include the necessary taglib directives at the beginning of your
JSP? For example, to use the core taglib as you are doing:
[EMAIL PROTECTED] prefix=c uri=http://java.sun.com/jsp/jstl/core%
This needs to be included at the top of any JSP using the taglib. If you
already
To: Tag Libraries Users List taglibs-user@jakarta.apache.org
Subject: Re: jstl doesn't work
Date: Sat, 22 Oct 2005 07:59:30 -0300
Hi Michael,
Did you include the necessary taglib directives at the beginning of your
JSP? For example, to use the core taglib as you are doing:
[EMAIL PROTECTED
I believe that EL only supports properties (including maps and lists),
but not methods.
Digby
matador wrote:
given the following code:
1 table
2 c:forEach var=elm items=${list}
3 tr
4
I think getFromcity() is missing in the vsr bean. Please check it out.
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
e.org] On Behalf Of Vijaya S
Sent: Thursday, September 29, 2005 3:43 AM
To: taglibs-user@jakarta.apache.org
Subject: JSTL Error
Hello,
I am
On Wednesday 31 August 2005 21:50, Luca Passani wrote:
people, what's the elegant way to do pagination with JSTL?
I am using struts, my Action generates a LinkedList which a JSP page
is supposed to visualize:
c:forEach var=item items=${content_list}
c:out value=${item.name}/br /
I believe you can only use JSTL 1.1 if you're using Servlet Spec 2.4 (like
Tomcat 5) or something like that.
thanks!
~ T r o y ~
On 9/7/05, Woodchuck [EMAIL PROTECTED] wrote:
hihi all,
in the Struts (1.2.7) distribution it includes what i thought was
everything you would need to use
On 9/7/05, Woodchuck [EMAIL PROTECTED] wrote:
hihi all,
in the Struts (1.2.7) distribution it includes what i thought was
everything you would need to use JSTL. namely, the standard.jar and
jstl.jar (found under the struts/contrib/struts-el/lib folder).
however, these jars are missing
On 8/31/05, Martin Cooper [EMAIL PROTECTED] wrote:
On 8/30/05, Rahul Akolkar [EMAIL PROTECTED] wrote:
snip/
2) Another approach that some choose is to provide a Constants bean
that supplies getters for the constants, which is what we ended up
doing for the RDC taglib.
Isn't that
On 9/7/05, Martin Cooper [EMAIL PROTECTED] wrote:
On 9/7/05, Woodchuck [EMAIL PROTECTED] wrote:
snip/
which is the 'official' version we should be using? why are there such
differences between these versions?
Because the JSTL spec defines different URLs for JSTL 1.0 and JSTL 1.1. ;-)
pagination is not a part of view...
On 9/1/05, Luca Passani [EMAIL PROTECTED] wrote:
people, what's the elegant way to do pagination with JSTL?
I am using struts, my Action generates a LinkedList which a JSP page
is supposed to visualize:
c:forEach var=item items=${content_list}
On 8/31/05, Chandramohan Mani [EMAIL PROTECTED] wrote:
pagination is not a part of view...
I beg to differ. If you're going to divide the world up into M, V and C, it
is certainly part of the view, since it has to do with which part of the
model is being presented to the user, and how to
On 8/31/05, Luca Passani [EMAIL PROTECTED] wrote:
Martin Cooper wrote:
Done. I think. At least, everything seems to have worked out, so it
should
be available in the next nightly build of Unstandard.
will I need to wait tomorrow to download? great. I am eager to try it.
Urk. I
Martin Cooper wrote:
Yes, it will work the same.
It works like a charm. You rock. Thanks
Luca
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I would like to do something like:
a) c:when test=${item.type == ContentType.URL}
This won't work. I could hack it around with a scriptlet and an import
at the top of my JSP, but that seems to me like
violating the separation between View and Control
You may want to see this -
Erik,
Please posting the code , I am also interested.
Thanks
John
Erik Beijnoff [EMAIL PROTECTED]
Erik Beijnoff [EMAIL PROTECTED]
08/31/2005 02:59 PM
Please respond to Tag Libraries Users List
To: taglibs-user@jakarta.apache.org
cc:
Subject: Re: JSTL and Java Constants
Please posting the code , I am also interested.
Thanks
John
The big tradeoff is of course the extra fn:xxx('...') that needs to be
written in the code. But a big plus is that once direct retrieval of
constants from java classes is integrated into the EL, a conversion is
simple a matter of search
You may want to see this -
http://forums.java.sun.com/thread.jspa?threadID=508847messageID=2543490
Cheers,
Sudhaker Raj
http://thej2ee.com
On 8/30/05, Luca Passani [EMAIL PROTECTED] wrote:
Hi there, here is my big problem today. I am using JSTL in some JSPs.
SInce this is a struts
And If you can't extend from that class then you can write adapter for that
class. Something like this
Using in a JSP page:
[code]
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
jsp:useBean id=Constants class=com.utils.JSTLMyConstants/
c:out value=${Constants.name
Take a look at the 'bind' tag in the Jakarta Taglibs Unstandard tag library.
See:
http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/index.html#bind
I have a useConstants tag that I've been meaning to donate that exposes all
of the constants in a class, but I haven't got around to
Martin Cooper wrote:
Take a look at the 'bind' tag in the Jakarta Taglibs Unstandard tag library.
See:
http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/index.html#bind
interesting. Do you have an example of how that should be used?
Thanks
Luca
On 8/30/05, Luca Passani [EMAIL PROTECTED] wrote:
Martin Cooper wrote:
Take a look at the 'bind' tag in the Jakarta Taglibs Unstandard tag
library.
See:
http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/index.html#bind
interesting. Do you have an example of how that
Martin Cooper wrote:
and then 'TheConstants' contains a map of all constants in the class, so you
can use, for example:
${TheConstants.URL}
bang on. That would be cool. I have worked my problem around in my
application, but your solution would be better, since it would decouple
my
On 8/30/05, Luca Passani [EMAIL PROTECTED] wrote:
Martin Cooper wrote:
and then 'TheConstants' contains a map of all constants in the class, so
you
can use, for example:
${TheConstants.URL}
bang on. That would be cool. I have worked my problem around in my
application, but
On 8/30/05, Martin Cooper [EMAIL PROTECTED] wrote:
On 8/30/05, Luca Passani [EMAIL PROTECTED] wrote:
Martin Cooper wrote:
and then 'TheConstants' contains a map of all constants in the class,
so you
can use, for example:
${TheConstants.URL}
bang on. That
for the quick response yesterday!!
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 2:29 PM
To: Tag Libraries Users List
Subject: Re: JSTL 1.0 problem with Bayern Ch 11 example...
On 8/3/05, Givler, Eric [EMAIL PROTECTED] wrote:
I'm
On 8/3/05, Givler, Eric [EMAIL PROTECTED] wrote:
I'm having a heck of a time trying to get the Bayern example from chapter 11
working, and I'm really not sure why
It looks like there's a bug in your container. I just tried out your
code on Resin 3.0.14, and everything works as expected.
I had the same problem last week. For whatever reason (The JSP policy on
whitespace) I couldn't set a variable to \n but I could create one
using the following hack:
c:set var=temp value=one
two/
c:set var=newline value=${fn:substring(temp,4,5)}/
(Note that on my windows computer temp=one\r\ntwo
Cool. Will give it a try. Thx.
Ohring, Peter wrote:
I had the same problem last week. For whatever reason (The JSP policy on
whitespace) I couldn't set a variable to \n but I could create one
using the following hack:
c:set var=temp value=one
two/
c:set var=newline
make a tld with a tag like this
function
nameceil/name
function-classjava.lang.Math/function-class
function-signaturedouble ceil( double)/function-signature
/function
and in your jsp (assuming you have mapped the tld as /functions)
%@ taglib uri=/functions prefix=f %
...
is there a possibility to determine in which level this b node appears?
-Original Message-
From: Rahul P Akolkar
To: Tag Libraries Users List
Sent: 03.05.2005 03:56
Subject: RE: JSTL Recursion possible??
Given that the c:import is yielding the XML that you sketched out in
your
I, for one, did not understand the question (or what the nesting you show
has to do with JSTL recursion). Can you please try again?
Thanks,
-Rahul
On 5/2/05, Gros, Martin [EMAIL PROTECTED] wrote:
JSTL and recursion, is this possible?
e.g. walk an xml tree with same element names on
It's a little hard to tell exactly what you're trying to do here, but it
might be helpful to know that '${restaurant.cuisine}' is the same as
'${restaurant[param.field]}' if param.field is equal to cuisine.
With this, you would need only the single case. This strategy is only
useful if you really
David:
The 'field'(s) are defined in RestaurantBean.java if they're not there
nothing happens. cuisine and city field's are exact matches. The name
field is user input and is case insensitive and will any partial part of
a matching name.
What I want to do is to have param.field or
If you want to save the result of an evaluation into another variable,
then just use c:set to set a variable from a value.
-Original Message-
From: Jack Lauman [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 9:32 AM
To: Tag Libraries Users List
Subject: Re: JSTL Question
David:
Thanks for your prompt reply. Your sugestion was a good idea, but I
found that the following actually worked the way I wanted it to:
c:if test=${fn:containsIgnoreCase(restaurant.filterValue, param.value)}
Thanks,
Jack
David Schwartz wrote:
Try...
Add this to your jsp...
%@ taglib prefix
Jason,
Make sure your deployment descriptor (web.xml) is servlet 2.4 based,
as follows:
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
Ah, thanks - I thought false was the default.
Otis
--- Kris Schneider [EMAIL PROTECTED] wrote:
script
alert(c:out value='${foo}' escapeXml='false'/);
script
Quoting [EMAIL PROTECTED]:
Hello,
I'm having some JSTL difficulties that I haven't encountered
before.
I have a string
script
alert(c:out value='${foo}' escapeXml='false'/);
script
Quoting [EMAIL PROTECTED]:
Hello,
I'm having some JSTL difficulties that I haven't encountered before.
I have a string with a single quote in it:
c:set var=foo value=Foo's Moos/
If I just print that out (c:out), JSTL
Don't escape XML in the JavaScript bit.
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; %
c:set var=foobar value=Foo's Moos /
html
headscript language=JavaScriptalert(c:out value='${foobar}'
escapeXml='false' /);/script/head
body bgcolor=white
c:out value=${foobar} /
/body
/html
Right, that's just not gonna happen with JSTL's EL. Well, I suppose you could
keep a shadow map that mapped values to keys, but that seems like a
management headache as well as a bit of session bloat. With JSP 2.0, you could
create an EL function to do it, but you're out of luck with JSP 1.2/JSTL
Can't you change the whole thing to work always with the key, and only do
the key-value mapping? Or maybe you can have a bean with both mappings:
UsersBean
+ idByUserName: Map
+ userNameById: Map
if you really need it (it is, in case both key and value are valid codes
and not only final
How about adding some JavaScript to update the value of a hidden input to
contain the key? That way you get both the key and the value submitted as
request params.
Quoting Helios Alonso [EMAIL PROTECTED]:
Can't you change the whole thing to work always with the key, and only do
the key-value
G'day,
Umm, this returns the value associated with the key... I need to do the
opposite whereby I have the value and I need it's key.
Thanks.
AB
-Original Message-
From: Tim Troy [mailto:[EMAIL PROTECTED]
Sent: Saturday, 9 October 2004 10:33 PM
To: [EMAIL PROTECTED]
Subject: FW:
]
Gesendet: Mittwoch, 6. Oktober 2004 02:18
An: Tag Libraries Users List
Betreff: Re: JSTL 1.1: diffs between c and c-1_0
On Tue, 2004-10-05 at 20:03, Dirk Manske (Mailing list) wrote:
I upgraded to JSTL 1.1 because we are now using Tomcat 5. At first I
tried the c.tld taglib. But this did not work
On Tue, 2004-10-05 at 20:03, Dirk Manske (Mailing list) wrote:
I upgraded to JSTL 1.1 because we are now using Tomcat 5. At first I tried
the c.tld taglib. But this did not work. For example the result of c:out
value=${aVariable} / for aVariable set to 100 was simply ${aVariable}
instead of
September 2004 1:16 AM
To: Tag Libraries Users List
Subject: Re: [JSTL] Exposing CONTEXT-PARAM defined elements in a JSP
Adrian Beech wrote:
TITLEc:out value='${initParams[applicationName]}'//TITLE
... it's initParam -- singular --
c:out value='${initParam[applicationName]}'/
or
c:out value
Adrian Beech wrote:
Is initParam[...] JSTL 1.1 specific? I can get TITLEc:out
value='${initParam[applicationName]}'//TITLE to work under Tomcat 5.0
with JSTL 1.1 but not under Tomcat 4.1.24 with JSTL 1.0.
Nope, both of the below work fine on my 4.1.30 systems.
c:out
The following will work on 1.1:
c:out value='%=
config.getServletContext().getInitParameter(applicationName) %'/
I know that it is not that elegant, but it works :-)
- Original Message -
From: Adrian Beech [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 12, 2004 12:32
Every document that has the XML syntax can be parsed
by using x:parse
check if your SOAP message has an accurate format
--- Johnson, Chris [EMAIL PROTECTED] wrote:
Is x:parse not able to parse a SOAP message?
Chris
__
Do You Yahoo!?
Tired
Obvioiusly, tomcat-user will probably be a more helpful place to post, but have
you read through the info here:
http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html
and, specifically for IIS:
http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk/iishowto.html
Quoting Nick Rapagnani
The web.xml has info about your application like the taglibs to use. So,
if you put an empty web.xml file the tags you used for your iteration
aren't converted to java code and compiled. :-)
Maybe if you don't put a web.xml tomcat includes a default one, I don't
know (or the IDE you are
Hello Jeff,
Try this as the top line in web.xml file.
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd
version=2.4
all other declaraqtions
/web-app
or stick %@ page isELIgnored =false % in your jsp.
On Thu, 2004-08-19 at 22:30, Simon Benzekri wrote:
Hello Jeff,
Try this as the top line in web.xml file.
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
very cool! that worked...but why? none of other suggestions did. any
sort of web.xml seemed to cause the page not to work. but placing this
line in allowed it to work. i'm assuming this turns off expression
language?
On Thu, 19 Aug 2004 23:18:06 +0100, Mark Page [EMAIL PROTECTED] wrote:
or stick
ok...i think i'm clearer now. this thread helped:
http://forum.java.sun.com/thread.jsp?forum=45thread=506444
thanks all!
On Thu, 19 Aug 2004 17:25:12 -0500, Jeff Ousley [EMAIL PROTECTED] wrote:
very cool! that worked...but why? none of other suggestions did. any
sort of web.xml seemed to
Hi Nick,
You might find MicroNova YUZU
(http://sourceforge.net/projects/micronova-yuzu) useful. It doesn't
have indexOf either, though, so you may have to use regular-expression
functions (codecs) such as String:match or String:split instead.
Hope this helps.
Best Regards, Makoto Nagata
Hi,
have you checked the coldtags suit? www.servletsuit.com/jsp
Best regards,
At 18:08 16.8.2004, you wrote:
Because of the difficulty I had integrating Tomcat 5.X with IIS 6, I had
to use Tomcat 4.X instead. This means no JSP 2.0 and no JSTL 1.1.
I had been using the function library for some
1 - 100 of 561 matches
Mail list logo