Hi,
I've solved the problem with the request:equalParameter-taglib:
">
The match-attribute must have a string value and not integer.
Changing i TLD: no to
yes is required to use the expression.
Thank you for the help!
Claus from Denmark
-Oprindelig meddelelse-
Fra: Mader, Ste
Check the tld for the equalsParameter taglib and ensure that rtexprvalue
element is turned on for the 'name' attribute. It should look something like
this if it is:
equalsParameter
.
.
.
name
yes
yes
.
.
Hi
select id,sygdom from tblData5 where status=1
<%= request.getAttribute("id") %>
" value="false">
">
">
I've had the same issue with a different taglib. You can first place the
value into an attribute using the 'to' parameter of the tag.
Then use an <%= %> scriptlet as the parameter to your
taglib.
Example:
FROM:
"
.
.
.
TO:
<%-- Default is the page %-->
"
.
.
.
Yes I know this seems mes
Ha...ha..
Just now I had the same problem but i use Tomcat 3.2.3
but I have solved it..., my problem is in the web.xml
you must check it again.
In my experience ... I write the location :
Web-inf/dbtags.tld and the right one is WEB-INF/dbtags.tld..
the web-inf folder must be UPPER CASE...
maybe
Yes, It seem to be the correct reply but the attribute must be the value
from a sql record:
select id,sygdom from tblData5 where status=1
"
value="false">
">
"
value="true">
I want to check the value of req.equalsparameter with the value of the
db-row's id - how? I cannot use tags in
>
> snip!...
> Doesn't work!
Have you set the attribute for that tag-lib to allow run time expression values so
that the <%= id %> bit actually get converted?
In the TLD for the tag-lib you need to specify that a particular tag attribute can
accept expressions as well as straight values.
<%
int id;
if (request.getParameter("id") != null) {
id = Integer.parseInt(request.getParameter("id"));
}
%>
">
Doesn't work!
How to insert a parameter from the URL-string to the req.equalsParameter as
attribute?
Claus