Hi Neeraj ,
Actually I am using XHTML files only and
java file for Portlet.
runtime I am setting the URL value generated in the the Java file using createActionURL() and set it by using java DOM object API in the XHTML file in a hidden field. Once click on the submit, in the javascript
document.myform.action= <the hidden field value- the URL >;
document.myforms.method="post";
document.myform.submit();
On the otherhand, if i set the URL in the
<form action="" >
and uses the submit button, it works fine.
thanks