taglib question

2004-11-06 Thread Jack Lauman
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 + "")

Re: jdbc taglib question ?? urgent

2001-09-05 Thread sufi malak
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

jdbc taglib question ??

2001-09-05 Thread sufi malak
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 ==

Re: jdbc taglib question ?? No rows selected

2001-04-18 Thread sufi malak
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

Re: jdbc taglib question ???

2001-04-18 Thread sufi malak
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

Re: jdbc taglib question ?????

2001-04-17 Thread Nishit Trivedi
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

Re: jdbc taglib question ?????

2001-04-17 Thread Richard Yee
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

Re: jdbc taglib question ?????

2001-04-17 Thread Karau, Joe
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

Re: jdbc taglib question ?????

2001-04-17 Thread Rob L'Estrange
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'

jdbc taglib question ?????

2001-04-17 Thread sufi malak
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

Re: RES: Taglib question

2001-04-06 Thread Atilio Ranzuglia
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 > > >

RES: Taglib question

2001-04-06 Thread Rodrigo Gevaerd
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

Taglib question

2001-04-06 Thread Atilio Ranzuglia
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

Re: taglib question

2000-05-31 Thread Martin Smith
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 "

Re: taglib question

2000-05-31 Thread Hans Bergsten
"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.

taglib question

2000-05-31 Thread Holmes III, William S
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

Re: taglib question

1999-11-24 Thread Pierre Awaragi
-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

taglib question

1999-11-23 Thread Pierre Awaragi
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

taglib question using orion server

1999-11-06 Thread Pierre Awaragi
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.

Taglib Question (SKIP_PAGE, RequestDispatcher.forward() and Beans)

1999-11-03 Thread Neal Kaiser
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

Re: Taglib Question (SKIP_PAGE, RequestDispatcher.forward() and Beans)

1999-01-02 Thread David Chisholm
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

Re: Taglib Question (SKIP_PAGE, RequestDispatcher.forward() and Beans)

1999-01-02 Thread Scott Douglass
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