I have a custom taglib with a hard coded URL. I've added a
'context-param' entry to move it the web.xml file. Is
'getServletConfig().getInitParameter' the corect thing to use here or is
there a better alternative?
Original line:
// out.println(A
Hi, I am using the jdbc taglib , could you please show me what's wrong here
:
sql:query
select * from pcinfo where User = '% =category %'
/sql:query
Thanks
_
Get your FREE download of MSN Explorer at
order by User
/sql:query
%}
%
thanks
From: sufi malak [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: jdbc taglib question ??
Date: Wed, 5 Sep 2001 15:52:43 +
Hi, I am using the jdbc taglib
rk.
From: Richard Yee [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: jdbc taglib question ?
Date: Tue, 17 Apr 2001 13:26:57 -0700
Sufi,
You need single quotes around the string in your like
BUT STILL DOES NOT WORK, ALWAYS I get no rows selected.
From: sufi malak [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: jdbc taglib question ???
Date: Wed, 18 Apr 2001 12:59:47 -0
could you please tell me what's wrong in this line:
select * from description where name like %= request.getParameter("name")
%
the file is like this :
..
%@ taglib uri="http://jakarta.apache.org/taglibs/jdbc" prefix="sql" %
% String name = request.getParameter("name"); %
%
e escaped or the sql query will break.
Rob
- Original Message -
From: "sufi malak" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 1:16 PM
Subject: jdbc taglib question ?
could you please tell me what's wrong in this line:
select * fr
though)
Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629
-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:16 PM
To: [EMAIL PROTECTED]
Subject: jdbc taglib question ?
could you please tell me what's wrong
name") + "'" %
-Richard
-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 1:16 PM
To: [EMAIL PROTECTED]
Subject: jdbc taglib question ?
could you please tell me what's wrong in this line:
select * from description where name like %= r
01 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: jdbc taglib question ?
Sufi,
You need single quotes around the string in your like clause.
select * from description where name like '%= request.getParameter("name")
%'
If that doesn't work you might have to do
select * from descrip
Hey everybody:
I'm learning about Tag Libraries, but I have the
following problem:
(in my jsp file)
...
% String username = request.getParameter("name"); %
...
sample:hello name="%= username %" /
Instead of getting (if I use 'Ati' as name): Hello Ati
I'm getting: Hello %= username %
This is
Abril de 2001 09:15
Para: [EMAIL PROTECTED]
Assunto: Taglib question
Hey everybody:
I'm learning about Tag Libraries, but I have the
following problem:
(in my jsp file)
...
% String username = request.getParameter("name"); %
...
sample:hello name="%= username %" /
.
[]'s,
Rodrigo.
-Mensagem original-
De: Atilio Ranzuglia [mailto:[EMAIL PROTECTED]]
Enviada em: Sexta-feira, 6 de Abril de 2001 09:15
Para: [EMAIL PROTECTED]
Assunto: Taglib question
Hey everybody:
I'm learning about Tag Libraries, but I have the
following problem
Hi,
Can someone point me to a working tag library example?
I keep getting the following exception in Tomcat:
org.apache.jasper.JasperException: Unable to open taglibrary taglib.jar : no
protocol: taglib.jar
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
"Holmes III, William S" wrote:
Hi,
Can someone point me to a working tag library example?
I keep getting the following exception in Tomcat:
org.apache.jasper.JasperException: Unable to open taglibrary taglib.jar : no
protocol: taglib.jar
at
I've been having similar trouble understanding the rules (though the JRun docs were
somewhat helpful.) Even if this DID work without extracting the .tld, wouldn't
your uri be "WEB-INF/lib/taglib.jar"?? I thought the reference was supposed to be
relative to the calling JSP file, which is above
-Interest
Subject: RE: taglib question
Pierre,
if I understand your question you are asking if a tag can output 'JSP' into
the stream that is further processed by the JSP engine. I would say no. The
JSP page is pre-processed by the JSP engine (including custom tags) and a
servlet produced
Hi all,
I have a simple question on taglib: can a custom tag generate other custom
tags that will be further processed. The scenareo is the following: read a
request from the user, generate information from the database. The
information is made up in custom tags that also needs to be
Hi,
I am pretty new to Java/JSP/Orion stuff but I have a simple question. I have
managed to install orion server and actually make it run. The sample JSP
taglib example worked fine using the included jar file.
I can't seem though to be able to make use only of the taglib.tld and the
class file.
I have a problem that I was hoping writing a custom tag would solve...
I have a jsp page, which uses a bean. This bean can catch an exception, and
use a RequestDispatcher.forward()
to an ErrorHandler JSP. Even though I have a return statement after the
forward() in the bean, it returns control
My opinion: Accept that you will have to add more Java code to your JSP and handle
the exception there. Though it further breaks down the "presentation" only concept
of JSP, I think it makes sense to handle exceptions where the methods are called.
To do anything real you've got to add tons of
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott Douglass
Sent: Thursday, November 04, 1999 8:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Taglib Question (SKIP_PAGE, RequestDispatcher.forward() and
Beans
22 matches
Mail list logo