Would hopefully be the same for the Mailer taglib. It's cool that Mozilla
supports the cid stuff, maybe it's even some kind of published standard
out there, and things like Notes and Groupwise might support it too [must
think who I can mail to test *grin*].
Hen
On Mon, 5 Apr 2004, Jason Lea
I am using Tomcat 5.X. I'm not sure which version of JSTL I have, but here
is my jsp reference:
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
I wanted to trim a variable I get from a database. I've searched the Sun
website and have found the function library.
%@ taglib prefix=fn
Make sure you're using JSTL 1.1.
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; %
%@ taglib prefix=fn uri=http://java.sun.com/jsp/jstl/functions; %
Functions are really part of the EL, so use them within an EL expression:
${fn:trim(row.user_id)}
Quoting [EMAIL PROTECTED]:
I am
Thanks. Someone on this board told me that before.
When I use : %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core;
% followed by c:out value = '${param.search}'/, the outout is
${param.search} instead of the search parameter value. When I use the other
library it works as expected. Any
Make sure you're also using a Servlet 2.4 web.xml:
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
...
/web-app
Quoting [EMAIL
Thank you. I've changed both the conf web.xml file and the local we.xml
file within WEB-INF. I've restarted and still have the same problem. The
book I bought on JSTL must be old because it does not mention JSTL 1.1. It
was the only book in the bookstore. Is there a web page that will tell me
There's really nothing you need to do to the server*, just make sure it supports
JSP 2.0. You appear to be using Tomcat 5, so you should be fine (you might want
to make sure you've got the latest version: 5.0.19). As for your app, all you
should need to do is download Standard-1.1 and place
I have Tomcat 5.0.19.
I have downloaded the Standard-1.1 file.
I have put jstl.jar and standard.jar in the WEB-INF/lib folder.
I have copied your code for creating a Servlet 2.4 web.xml file
I am using the taglib directives as you have written:
http://java.sun.com/jsp/jstl/core
I've restarted
Is there any way to specify that a redirect go into another frame???
We have an outer frame holding a menu, then an inner frame that loads our
pages and each page has a security header.
If the session times out, we get redirected (via our security header) to our
logon page - BUT, our menu still
Chris,
I can generate a perfect Go Gadget Go sample with what I have. But where
do the pictures come into play? Your sample does not have and gif of jpg's
in it. Have a look at my code (note I do not use core tags). Issue is
that the picture is not showing when emailed to the user. What's the
Hi Bill,
Thanks again for your reply. This JavaBeans component model specification
seems quite hard to locate.
I did find a PDF from 1997 on the Sun site (ver 1.01). Is this the only
point of reference? Can you provide me with any recent JavaBeans Spec
documentation?
I suppose I am struggling
My 2 cents:
Although static methods are valid code applied to instances of
the class; this is a matter of parsing and code generation.
Static methods are logically methods of that instance's
class object.
In either case Java's reflecton mechanism doesn't seem to
provide API access to invoking a
What mechanisms in JSTL (or even the datetime taglibs) are there to
perform date calculations? So far i've only seen formatting options.
Essentially i'm looking to calculate the Friday (or Saturday) date for
the current week (and eventually be able to generate a list of dates
representing week
Hi Anuj,
Youcan use the Calender Class to get the dates but my choice is use Jcommon.jar
package from jfree.org where u have a number of functions to manipulate dates
regards
srinivas
Anuj Agrawal [EMAIL PROTECTED] wrote:
What mechanisms in JSTL (or even the datetime taglibs) are there to
Hey Srinivas -
Thanks for your email. I was really looking to use taglibs only -
kinda like the way the EL functions make string-related functions
available.
Anuj.
--- chekuri raju [EMAIL PROTECTED] wrote:
Hi Anuj,
Youcan use the Calender Class to get the dates but my choice is use
Anuj
try this taglib its called time interval taglib at
www.servletsuite.com/servlets/tdifftag.htm
srinivas
Anuj Agrawal [EMAIL PROTECTED] wrote:
Hey Srinivas -
Thanks for your email. I was really looking to use taglibs only -
kinda like the way the EL functions make string-related
16 matches
Mail list logo