A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
struts 2 s:if tag
Vijay jai Singh
Joined: Jan 07, 2009
Aug 28, 2009 08:32:47
i am using
2. i want to check some condition in my jsp and based on result i want to perform some task.
i have written
// Do Something else
for this i have created one hidden field also in
named status and have getter and setter method in Action class.
but things are not working as expected. Even if status is Y it always execute ELSE part. please let me what i am doing wrong.
Joined: Sep 29, 2008
Aug 28, 2009 09:23:32
Your question was answered on the Struts mailing list.
I agree. Here's the link:
subject: struts 2 s:if tag
s:if String comparison not working
Problems with diaplayTag
Add Effect to Link
Struts2 - if tag - OR condition
conditional tags not working - struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014