Hi,
I have a list which has some values which i get from database.
I want to loop through the list and get values which are not duplicated for
this i think the best way in struts is to use logic:equal.
Can some one please send me some example on the same
Regards
Kamal Gupta
Hi,
I am trying to store a value of a list into a variable on a jsp page.
the clode below writes the information pf planstarttime on the jsp page.
bean:write name=results property =planStartTime /
if i want to store the value of plan start time into an int what should i do
can anyone help
Reckon you'll need to post the struts user list rather than the
developer list. Before anyone will respond.
On 7 Jan 2004, at 12:58, Kamal Gupta wrote:
Hi,
I am trying to store a value of a list into a variable on a jsp page.
the clode below writes the information pf planstarttime on the jsp
--- Kamal Gupta [EMAIL PROTECTED] wrote:
Hi,
I have a list which has some values which i get from database.
I want to loop through the list and get values which are not duplicated
for
this i think the best way in struts is to use logic:equal.
Please post this question to struts-user
:
logic:equal name=reassignedTaId value=%= refValue %
I want to compare values from one arraylist with another using logic equal
tag but in the value= tag how i can give a variable ??
Plz Help !!!
Thanks Regards,
Shakti
- Original Message -
From: Nicolas De Loof [EMAIL PROTECTED]
To: Struts
/show_bug.cgi?id=21473
logic:equal else tag?
Summary: logic:equal else tag?
Product: Struts
Version: Unknown
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Custom Tags
/show_bug.cgi?id=21473
logic:equal else tag?
--- Additional Comments From [EMAIL PROTECTED] 2003-07-10 17:30 ---
I didn't mean that exact syntax. I was trying to get the concept across
because it would be very useful. You could design it however you want to.
Here are two possible
/show_bug.cgi?id=21473
logic:equal else tag?
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution
issue.
i set the request.setAttribute(Task,John) in
action class.
in a forwarded jsp i wanted to compare the value set
ijn action class by
using logic:equal
My code in Jsp is:
logic:equal parameter=Task value=JohnJohn
Wright/logic:equal
But this gives me the error as:
Cannot compare null
Hi
Could anyone help me out on the following issue.
i set the request.setAttribute(Task,John) in action class.
in a forwarded jsp i wanted to compare the value set ijn action class by
using logic:equal
My code in Jsp is:
logic:equal parameter=Task value=JohnJohn Wright/logic:equal
But this gives
How do we compare two variables using logic:equal without using scriplet.
Bean1 {
String x;
}
Bean2 {
String y;
}
The logic required is :
if(b1.x == b2.y)
display message1.
else
display message2.
end if.,
where b1, b2 are objects of type Bean1, Bean2 respectively
I have only jsp 1.1 container. i would appreciate if u could provide a solution with
struts tag.
regards,
sri.
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 10:40 AM
To: Struts Developers List
Subject: Re: Doubt in logic:equal
Easy
12 matches
Mail list logo