Tuesday 27 December 2011

OGNL DEMO

Dear All,

Please download the attached files and follow the steps below :-

1] Copy OGNLDemoAction.java into the com.sapient.actions package of the StrutsWeb project.
2] Copy ognl_result.jsp into the WEB-INF/pages folder of the StrutsWeb project.

3] Add the entry for the following action in the struts.xml

<action name="ognlDemo" class="com.sapient.actions.OGNLDemoAction">
            <result name="ognl_result">/WEB-INF/pages/ognl_result.jsp</result>
</action>

Thanks and Regards,
Vivek Mehta


No comments:

Post a Comment