Thanks Krishna,
Thats the chunk from the struts-config file.
<action
path="/secure/image/save"
roles="User,Operator"
type="co.ui.action.RequestViewDetailAction"
name="iForm"
scope="request"
validate="true"
parameter="save"
input="/WEB-INF/pages/request/RequestDetail.jsp">
<forward name="success"
path="/WEB-INF/pages/request/RequestList.jsp"/>
</action>
i'm afraid it still doesnt work. when errors are present it displays the errors
on the RequestList.jsp page instead of the RequestDetail.jsp.
As i said I tried to think, but in vain. any ideas folks?
Cheers
Gokul
+
On Wed, 05 Apr 2006 Krishna,Mattam(M.) wrote :
>Hi,
>Errors are displayed on the page , based on ur input attribute in the
><action ...> tag.
>Check the below sample ,bold........
>Any doubts send a mail..
>
>Sample:
>------
><action path="/employeePortfolioPost"
>type="com.ford.hr.cdf.careerdevelopment.presentation.actions.EmployeePor
>tfolioPostAction"
> name="EmployeePortfolioForm" scope="session"
> parameter="method" validate="true"
> input="page.employeePortfolio"
> roles="Employee Portfolio">
>
> <forward name="addExperience" path="page.employeePortfolio"></forward>
>
></action>
> ///\\
> (@ @)
>+-----oOO----(_)----Ooo-----+
>| |
>| Thanks and Regards, |
>| Krishna Mattam |
>| Team Member - CDF Toolset |
>| Contact:044-22548575 |
>| Email: [EMAIL PROTECTED] |
>+---------------------------+
> |__|__|
> || ||
> ooO Ooo
>
>