| Author |
logic:equal tag
|
naveen
Greenhorn
Joined: May 12, 2005
Posts: 2
|
|
hi, I have written the following code, but I am getting an exception "javax.servlet.jsp.JspException: No bean found under attribute key AbcForm" the scenario is; Suppose I have a form called AbcForm and it has the property called name. I want to print something when that property name is equal to �xyz� I am setting the name property value using the form setter method in the AbcAction class. I wrote the following code in the jsp page. <logic:equal name="AbcForm" property="name" value="xyz"> hello world </logic:equal> Kindly Suggest. Thanks, Naveen
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
Did you remember to place a reference to the AbcForm bean in the request? as in: request.setAttribute("AbcForm", abcForm);
|
Merrill
Consultant, Sima Solutions
|
 |
naveen
Greenhorn
Joined: May 12, 2005
Posts: 2
|
|
hi, I got it. Thanks, Naveen
|
 |
 |
|
|
subject: logic:equal tag
|
|
|