Re: servlet works, jsp not, why? (Tomcat 5.0)

2008-08-14 Thread eleonora46
I'm going to guess the servlet spec version in your web.xml isn't up to a level that supported the JSTL expression language. What's your web.xml look like? web.xml looks: -- ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC

Fwd: Re: servlet works, jsp not, why? (Tomcat 5.0)

2008-08-14 Thread eleonora46
Please see in text my answer. ge wrote: sql:query var=rs dataSource=jdbc:mysql://localhost:3306/javatest?user=javauserpassword=javadude select id, foo, bar from testdata /sql:query I think you want to use the name of the dataSourced, here, not the URL. You want something like

Re: servlet works, jsp not, why? (Tomcat 5.0)

2008-08-14 Thread eleonora46
Please see in text This thread may be very helpful to you: http://forums.sun.com/thread.jspa?messageID=3335080 The thread is about EL- I do not use xpression Language. Essentially you've declared your tags for jstl 1.1, which requires servlet spec 2.4, not 2.3. Replace the DOCTYPE and

database application

2008-08-13 Thread eleonora46
Hi, Please help me. I use this introduction: http://localhost:8180/tomcat-docs/jndi-datasource-examples-howto.html database: mysql A simple java application works (see PS) [EMAIL PROTECTED]:/mnt/hda3/tyuk/dtest/java/database# java DbTableShow2 +---+---+---+ |