s & 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"
. 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: &quo
.service(HttpJspBase.java:97)
>javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
Servlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.9 logs.
Thanks & Regards
Rajasekhar
--- On Mon, 14/7/08, K
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 det
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 o
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
> should be a string literal... What is the
OK many thanks Kris, and help from everyone else on this list also very much
appreciated.
Kris Schneider wrote:
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 direct
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
org.a
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: url="http://www.expasy.org/spotlight/index.xml"/>
You'll need both Xerces and Xalan (Xerces should be included in the Xalan
download). I believe the release notes for Standard 1.1 state that Xalan
2.5 is required. Use this link:
http://www.apache.org/dyn/closer.cgi/xml/xalan-j
to download the latest version. If you run into any issues, you ca
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: org/apache/xpath/XPathE
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:
javax.servlet
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 somew
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:http://www.expasy.org/spotlight/index.xml"/>
101:
102: escapeXml="false"/>
ERROR: Nested in javax.servlet.ServletException:
java
You don't need those taglib entries in web.xml. Remove them and use the
proper JSTL 1.1 URIs:
http://java.sun.com/JSP/Page”
xmlns:c="http://java.sun.com/jsp/jstl/core";
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt";
xmlns:fn="http://java.sun.com/jsp/jstl/functions";
this is the complete declaration in the JSP:
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"
xmlns:html="struts-html"
I would think you'd be using these:
xmlns:c="http://java.sun.com/jsp/jstl/core";
xmlns:x="http://java.sun.com/jsp/jstl/xml";
Isabelle Phan wrote:
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
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:
etc...
I have the vague feeling it's some stupid typo...
thanks for your help
Isabelle
Kri
Are you sure you're properly declaring the x taglib? It almost looks like
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 outputti
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 oth
Yup, that totally makes sense to me.
-Rashmi
- Original Message
From: Hassan Schroeder <[EMAIL PROTECTED]>
To: Tag Libraries Users List
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 PROTECTED]> wrote:
- 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
http://www.site.com?parameter1=abc&pa
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,
http://java.sun.com/jsp/jstl/functions"%>
-Rashmi
- Original Message
From: Mikolaj Rydzewski <[EMAIL PROTECTED]>
To: Tag Libraries Users List
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 t
ki <[EMAIL PROTECTED]>
To: Tag Libraries Users List
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 not. I have raised such case a few weeks ago:
http://mail-archives.apac
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 R
On 11/7/06, Kris Schneider <[EMAIL PROTECTED]> wrote:
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 (Serv
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
I suggest you remove the "<<<" if it is actually in your JSP.
Also, change this:
to this: :
This may also also be a problem: webLangId${languaje.codi}
Try ${ 'webLangId' + languaje.codi }
If you're using the 2.4 spec. you can try this:
Just suggestions.
Steve
-
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 tag.
> "Invalid datastore path 'N
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 workin
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 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 tag.
"Invalid datastore path 'No_Floppy.flp'." Is
Bob Arnott 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 appli
TED]
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.
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
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 us
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 editor,
March 2006 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 p
Thanks Bob,
I'll give a try.
Kevin
-Original Message-
From: Bob Arnott [mailto:[EMAIL PROTECTED]
Sent: 29 March 2006 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 To
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 tld
ctory 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
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 http://java.sun.com/jsp/jstl/core that's
the URI to use in your JSP pages -
<%@ taglib
On 3/20/06, avilay parekh <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have been trying to run JSPs with JSTL on tomcat 5.0.28 without any success.
>
> My setup:
>
> $CATALINA_ROOT/
> webapps/
> tp/
> login.html
> two2.jsp
> WEB-INF/
> web.xml
> lib/
>
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
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 ?
Luca
-
On 3/16/06, Luca Passani <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> here is my problem today. I am dealing with an API that I have not
> written and that is not very object oriented.
>
> I have a list of objects that have no common super class (or better,
> they have Object).
> In my JSP, which I would
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
> fi
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 r
On 12/23/05, hong yuan <[EMAIL PROTECTED]> wrote:
> Hi, I am using JSTL resource bundle. It is defined in
> web.xml:
>
>
>
>javax.servlet.jsp.jstl.fmt.localizationContext
>
>
>package.ApplicationResources
>
>
>
> My question is that if I have two or more resource
> bundle properti
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 y
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 acc
Libraries Users List
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] prefix="c" uri=&quo
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
alr
I believe that EL only supports properties (including maps and lists),
but not methods.
Digby
matador wrote:
given the following code:
1
2
3
4
5
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 struggli
On 9/7/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> On 9/7/05, Woodchuck <[EMAIL PROTECTED]> wrote:
> >
> > 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.
On 8/31/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> On 8/30/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
> 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 tha
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
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
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:
>
>
>
>
>
>
> I'd like the JSP to recognize long lists and split it
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
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:
>
>
> http://item.name>}"/>
>
>
>
> I'd
>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 sea
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@ja
>I would like to do something like:
>
>a)
>
> 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 -
>
>>http://forums.java.sun.com/thread.
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]
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
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.
One little doubt:
|
The constants are defined in an inte
On 8/30/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
>
> 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
>
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.UR
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}
> > >
> >
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 m
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 acti
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 a
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
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 tha
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"; %>
http://Constants.name>}"/>
[/code]
Where adapter class is
[code]
package com.utils;
import jav
Sudhaker Raj wrote:
You may want to see this -
http://forums.java.sun.com/thread.jspa?threadID=508847&messageID=2543490
very smart. A bit overkill for my problem, but very smart...
Thanks
Luca
-
To unsubscribe, e-mail:
You may want to see this -
http://forums.java.sun.com/thread.jspa?threadID=508847&messageID=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
On Wed, Aug 17, 2005 at 11:44:51AM +0100, Murray Steele wrote:
> You could do something like:
> top-level.jsp:
>
>
>
>
> recurse.jsp:
>
>
>
>
> ${message.subject}
>
>
>
>
>
>
>
> I did something similar a while back. It seemed to work. The final
> c:set in recurse.jsp m
You could do something like:
top-level.jsp:
recurse.jsp:
${message.subject}
I did something similar a while back. It seemed to work. The final
c:set in recurse.jsp might be redundant, but you have no way of knowing
if the "calling" jsp will want to do something els
works.
Thanks 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 PROTEC
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 expect
make a tld with a tag like this
ceil
java.lang.Math
double ceil( double)
and in your jsp (assuming you have mapped the tld as "/functions")
<%@ taglib uri="/functions" prefix="f" %>
...
${f:ceil(your_number_var)}
On 5/26/05, Dominguez Valle Carolina <[EMAIL PROTECTED]> wrote:
> Hi
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:
(Note that on my windows computer temp="one\r\ntwo" so that the 5th
char
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:
(Note that on my windows computer temp="one\r\ntwo" so that the 5th
character is the newline character)
Then you should be abl
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 o
Original Message-
> From: Rahul P Akolkar [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 3. Mai 2005 03:51
> To: Tag Libraries Users List
> Subject: Re: JSTL Recursion possible??
>
> I, for one, did not understand the question (or what the nesting you
show
> has to do with &q
Users List
Subject: Re: JSTL Recursion possible??
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 po
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 di
Is EL working in other JSPs in the same context? Do you have a servlet
2.4 web.xml? As an aside, its a good idea to use lowercase for the
first (and second ;-) letter in a bean or property id/name.
-Rahul
On 4/29/05, Poornima V Camblay <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am a newbie to JS
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 Li
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 ${restauran
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 rea
Would it be possible for you to use javax.servlet.jsp.tagext.TagAdapter to
expose your SimpleTag as a Tag?
Quoting Bernhard Slominski <[EMAIL PROTECTED]>:
> Hi,
>
> I want to create a set of two taglibs for a Navigation Box with the Simple
> Tag API and for my magivation items I need to know th
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:
Thanks,
Jack
David Schwartz wrote:
Try...
Add this to your jsp...
<%@ taglib prefix = "fn" uri = "http://java.sun.com/jsp/jstl/functions"; %>
Then...
Quot
Try...
Add this to your jsp...
<%@ taglib prefix = "fn" uri = "http://java.sun.com/jsp/jstl/functions"; %>
Then...
Quoting Jack Lauman <[EMAIL PROTECTED]>:
>> I am using the following line of code to test strings for equailty.
>> In most cases I'm just trying to compare a city name in an arra
Thanks to Pierre and Matthew for the quick response. The correction you
provided worked perfectly.
I followed up by reading Appendix A, and now have a much greater
understanding, not just on how the backwards computability was causing
the issues (EL machinery not running due to faulty web.xml)
Jason,
Make sure your deployment descriptor (web.xml) is servlet 2.4 based,
as follows:
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
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
vers
1 - 100 of 714 matches
Mail list logo