RE: setdatasource problem

2004-03-11 Thread Martin van Dijken
Hey John, Can you show me the code snippets you use yourself to setup a connection and do a query in the servlet? Both the standard and the domain example please. As always ;) no uid/passwd necessary... Martin -Oorspronkelijk bericht- Van: John MccLain [mailto:[EMAIL PROTECTED] Verzonden

RE: Iterator : Newbie

2004-03-11 Thread Martin van Dijken
Hey Gaurav, Please explore a bit further. - Your components are HTML snippets? - The configuration on whether to display them, can be read how? Martin -Oorspronkelijk bericht- Van: Gaurav Vaish [mailto:[EMAIL PROTECTED] Verzonden: donderdag 11 maart 2004 20:31 Aan: [EMAIL PROTECTED] Ond

Re: input taglib - defaulting checkboxes to checked when using ?var=value in URL

2004-03-11 Thread Felipe Leme
Hi Charles, On Thu, 2004-03-11 at 13:18, Charles Nealey wrote: > Is this a known bug or is there just no way to get this to work due to the > way checkboxes are submitted (nothing sent if nothing is checked)? Is there > a way to get around this? Any ideas??? I worked around it to do what I want >

Re: how to use c-rt? (or, when to mod web.xml?)

2004-03-11 Thread Roy Benjamin
This is the answer. My book: "JSTL JSP Standard Tag Library (Kick Start)" has it wrong THANKS! I was becoming even more confused than usual. Roy On Thu, 2004-03-11 at 12:38, Kris Schneider wrote: > Try: > > <%@ taglib prefix="c_rt" uri="http://java.sun.com/

setdatasource problem

2004-03-11 Thread John MccLain
Heres the scenario - I have a servlet it sets up a JDBC connection to sql server via a URL with user name and password I am using standard SQL server authentication I execute a query and get the results back and put them in a session variable I then take the URL I us

Re: how to use c-rt? (or, when to mod web.xml?)

2004-03-11 Thread Kris Schneider
Try: <%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt"; %> Quoting Roy Benjamin <[EMAIL PROTECTED]>: > I'm using: > > Java SDK 1.4.2_03, > Java J2EE 1.4 > jakarta-taglibs-standard-1.0.5 > jakarta-tomcat-4.1.30 > > I've had no trouble using the core, sql,

how to use c-rt? (or, when to mod web.xml?)

2004-03-11 Thread Roy Benjamin
I'm using: Java SDK 1.4.2_03, Java J2EE 1.4 jakarta-taglibs-standard-1.0.5 jakarta-tomcat-4.1.30 I've had no trouble using the core, sql, and fmt tags in my JSPs. ***All I did was to drop jstl.jar and standard.jar into my WEB-INF directory and add the proper direc

Iterator : Newbie

2004-03-11 Thread Gaurav Vaish
Hi, I have just started with TagLibs - and uff! what a hot + fun time I had. Coming to point... I have the following scenario: - A set of components that I want to display. - Their display (visible or not, and order) is given by a configuration which is user dependent. - So,

input taglib - defaulting checkboxes to checked when using ?var=value in URL

2004-03-11 Thread Charles Nealey
I am using the Jakarta input taglib, the version published on 3/9/04. Here is an example from the included input-examples.war file (from the included form.jsp example file which also has text input, text area input, select box input, and radio button input): <% String[] defaults = new String[

Re: good EL reference

2004-03-11 Thread Kris Schneider
The EL doesn't support the BeanUtils concept of a mapped property. You'd have to expose a "simple" property of type Map to work with JSTL: public Map getSearchMap() { ... } Quoting Daniel Lipofsky <[EMAIL PROTECTED]>: > What is the definitive reference for EL syntax? > I am having a hard time

RE: Can't use JSTL 1.1 EL functions without errors

2004-03-11 Thread Thomas Forrester
Thanks a million Martin It was my incorrect URL in the taglib declaration that caused it. -Original Message- From: Martin van Dijken [mailto:[EMAIL PROTECTED] Sent: 11 March 2004 12:21 To: Tag Libraries Users List Subject: RE: Can't use JSTL 1.1 EL functions without errors Hey Thomas

RE: Can't use JSTL 1.1 EL functions without errors

2004-03-11 Thread Martin van Dijken
Hey Thomas, > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> Shouldn't this also be : <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> Furthermore, Check whether in the c.tld file, at the set tag, the rtexpr-value property is set to true. In the past the JSTL 1.1 d

Can't use JSTL 1.1 EL functions without errors

2004-03-11 Thread Thomas Forrester
I am trying to use a JSTL EL function (fn:toUpperCase), although this problem occurs with any function. I think it has something to do with my setup. After looking around, I realised I needed to use a Servlet 2.4 web.xml . No I have done that I get another error. If I use code like this: <%@ tagli

Re: good EL reference

2004-03-11 Thread Adam Hardy
On 03/11/2004 03:23 AM Daniel Lipofsky wrote: What is the definitive reference for EL syntax? I am having a hard time finding a good online reference. Get the pdf of the JSTL spec from Sun. Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian