If you know the values of idtype-inf you will use, you
can use this query :
select * from v_inf where idtype_inf=6 OR idtype_inf=7 OR idtype_inf=8...
or if the values follow each other ( 6,7,8,9...), use
for(int i=6; i=9; i++)
{
...
select...esql:parameterxsp:expri/xsp:expresql:parameter
...
}
I can't make it work, the esql tags are not interpreted
i also use esql tags in file.xsp where it works
if someone can help me thanks.
(I know similar questions have been posted, but i could find a solution
in the answers )
C.
here's the namespace in my xsp file
===file.xsp===
hello,
I have a mysql database with a table 'listes' which has
a column 'id' auto increment.
How can I get the last inserted row's id ?
(except using select max(id) from )
thanks.
C.
-
Please check that your question has
doesn't work.
send back 0 for each row there is in the table
C.
-Message d'origine-
De : Alen Milkovic [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 20 août 2001 12:00
À : [EMAIL PROTECTED]
Objet : Ang: [C2] mysql and auto-increment
Orgalist [EMAIL PROTECTED] 20.08.01 11:54
hello,
I
Hello
has somebody already sucsessfully used the form
xsp-request:get-parameternamename/name/xsp-request:get-parameter
instead of
xsp-request:get-parameter name=name/
because i can't make it work : in the correspnding java file there is :
((XSPRequestHelper.getParameter(objectModel, , null)));
Hello
here's my problem :
I'm generating xml using the esql tags and a mysql database with file
liste.xsp and transforming it with liste.xsl : it allows me to display
the items of a list and ,using a form to send parameters to add-item.xsp,
add an item to this list.
the SELECT and INSERT work
for example, i'd like to include in
index.xml the code source of plan.xml obtained by by
using view-source.xsp with plan.xml as parameter.
Is it possible to do something like this :
xinclude:include parse=text href=view-source.xsp?filename=plan.xml
?
thks
C. de Corbier
here's my problem :
I'm trying to include a file plan.xml in index.xml using xinclude (they are
in the same directory) and I keep getting :
org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:java.io.FileNotFoundException: