>>>>> "Mohan" == Mohan Radhakrishnan <[EMAIL PROTECTED]> writes:
Mohan> Hi,
Mohan> I am sure I am doing something wrong here.
Mohan> <bean:write name="reportid" property="reportID"/>
Mohan> <logic:greaterThan name="reportid" property="reportID" value="19">
Mohan> </logic:greaterThan>
Mohan> Now if I put a bean in the session with the proper getter method, the tag
Mohan> above should pick up.
Mohan> Now my action sets the proper value in the bean ( it even prints it after
Mohan> setting it ) and forwards to a jsp.
Mohan> Is something missing here ?
Mohan> The action is this.
Mohan> <!-- Generic forward -->
Mohan> <action path="/generic"
Mohan> type="com.hcl.smartmanage.web.action.GenericForwardAction"
Mohan> name="noDataForm"
Mohan> validate="false"
Mohan> scope="session">
Mohan> <forward name="REPORTER" path="/reports/report.jsp"/>
Mohan> </action>
I'm going to guess you set the "reportID" attribute of your "noDataForm"
object. If so, you need to change the tags to this:
<bean:write name="noDataForm" property="reportID"/>
<logic:greaterThan name="noDataForm" property="reportID" value="19">
</logic:greaterThan>
If that's the wrong guess, we need to see your Action and ActionForm.
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED] ; SCJP
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>