Hi,
I have something like this:
sql:query var=result
select * from leaves_types
/sql:query
c:forEach items=${result.rows} var=row
c:out value=${row.CODE}/
c:out value=xx/
c:out value=${row.TYPE_OF_LEAVE}/
/c:forEach
How do I put the values into a variable and use it in the
Thanks Dima.
I am stuck with another problem now.
I have a variable in Java which i get from request.
String s1 = request.getParamter(name);
I want to pass s1 into a SQL query which is like this:
sql:query var=getLeaveRecord
select * from emp_leaves where leave_id=?
/sql:query
How do i put s1
I'm still trying to call a HTTPS URL with the IO TAGLIB, no logs errors, the browser
still waiting untill.
Can someone help me?
Benny
I'm trying somethnig like this, i have to call https servlet that should
response with an xml that i have to parse!
I'm sorry but this is just my third post in this ML! :)
Tnx!
%@ taglib uri=http://jakarta.apache.org/taglibs/xtags-1.0; prefix=xtags
%
%@ taglib
Well, when reading the tags documentation I notice the output= attribute for the
http tag. If that is not set to true, the output is ignored.
Cheers,
Martin
-Original Message-
From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
Sent: donderdag 9 oktober 2003 11:49
To: Tag
I'm tring this way but it doesn't seems to work, anyway I've just used this
script with HTTP (NO HTTPS) URL and it works correctly!
io:http url=https://www.fineco.it/fineco/PortaleLogin; action=POST
input=true output=true/
Tnx a lot.
- Original Message -
From: Martin van Dijken [EMAIL
Does it output anything at all if you don't put it between xtags?
-Original Message-
From: Benedetto Dell'Ariccia [mailto:[EMAIL PROTECTED]
Sent: donderdag 9 oktober 2003 12:12
To: Tag Libraries Users List
Subject: Re: Calling HTTPS URL with IO
I'm tring this way but it doesn't
I scored
...tnx the same but I solved the problem!
Benny
- Original Message -
From: Martin van Dijken [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 12:22 PM
Subject: RE: Calling HTTPS URL with IO
Does it output anything at all
Hi Martin,
I don't know write the code you said if you have a short example I'll be
grateful,
anyway teh problem could be the kind of file that I'm calling, I'm calling a
Servlet,
I tried with other 3 dots URL and the taglib works correctly!
Benny
- Original Message -
From: Martin van
Weird,
Anyway, thanks for trying your hunches. If the problem you had is still reproducable,
it might be worth the time to investigate it further. Personally, I couldn't care
less. If the problem is solved for you, it's fine by me:)
Martin
-Original Message-
From: Benedetto
Benedetto Dell'Ariccia wrote:
I'm still trying to call a HTTPS URL with the IO TAGLIB,
Sorry, missed this earlier.
The IO taglib works, but you need to prep your environment first;
here's a sample that should get you started...
%@ page
import = javax.servlet.http.*,
Hello All,
I'm trying to create a page using an HTML img tag that has as it's src
attribute a URL.
my initial attempts were along the line of:
img src=c:url value=http://mapserver/servlet/com.esri.wms.Esrimap;
var=url
c:param name=servicename value=${param.servicename}/
/c:url
John C Cartwright wrote:
I'm trying to create a page using an HTML img tag that has as it's src
attribute a URL.
my initial attempts were along the line of:
img src=c:url value=http://mapserver/servlet/com.esri.wms.Esrimap;
var=url
c:param name=servicename value=${param.servicename}/
Hi Martin,
This did not work:
sql:query var=getLeaveRecord
select * from emp_leaves where leave_id=c:out value='${param[name]}'/
/sql:query
This is the scenario:
String s1 = request.getParamter(name);
I want to pass s1 into a SQL query which is like this:
sql:query var=getLeaveRecord
select *
14 matches
Mail list logo