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("" + i + "");
Modified line:
out.println("" +
i + "")
gt;
select * from pcinfo order by User
<%}
%>
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
Hi, I am using the jdbc taglib , could you please show me what's wrong here
:
select * from pcinfo where User = '<% =category %>'
Thanks
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
==
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
ork.
>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
>
&g
day, April 17, 2001 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 y
request.getParameter("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:
s
well. (index won't be used 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 yo
would
have to be 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'
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"); %>
<% out.p
be evalutated.
>
> []'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
> >
>
1 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"); %>
&g
Hey everybody:
I'm learning about Tag Libraries, but I have the
following problem:
(in my jsp file)
...
<% String username = request.getParameter("name"); %>
...
Instead of getting (if I use 'Ati' as name): Hello Ati
I'm getting: Hello <%= username %>
This is an example of Oreilly, but as you
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 "
"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
> org.apache.jasper.compiler.
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
-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 prod
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 reinterprete
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
b
you're having.
David
> -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
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 code
22 matches
Mail list logo