HI,
I am using the below
struts tag in Application, As you can see i am using script function showMsgPop in which i am using bean:write tag.But this tag is not able to display the message.
Please let me know where i am doing wrong?..
>
jsp Page
-----------
The form tag
<html:form name="submitOpex" action="uploadOpexXcel.do" type= "c4.form.UploadOpexForm" method= "post" scope="session" >
<logic:messagesPresent message="true">
<html:messages id="submitCosmessage" message="true">
<script>
showMsgPop("OPEX Submission Result", "<bean:write name='submitCosmessage' />");
</script>
</html:messages>
</logic:messagesPresent >
Struts-config.xml
-----------------
<action
path="/submitOPEX"
type="c4.action.SubmitOpexAction"
name="submitOpex"
scope="session" >
<!-- input="subOpex"> -->
<forward contextRelative="true" name ="subOpexPage" path="subOpex" />
</action>
Thanks
Chetan Durg