Yah, i am using JavaScript to submit page.. see the below code
<FORM name="PRESENTATION" onSubmit="javascript: return jumpToBatch()" method="POST">
And in jumptToBatch() function, I am doing
document.PRESENTATION.BEAN_COMMAND.value = strCommand;
document.PRESENTATION.action="<%=SERVER_CONTEXT%>
servlet/LogController";
document.PRESENTATION.submit();
And also in LogController.java, i used service method.
String strCommand = req.getParameter("BEAN_COMMAND");
The service method is calling twice and this 'strCommand' value is getting
null onetime, and the actual value in nexttime.
I have read one of the questions posted earlier, which saying that doGet method called twice when used .css file in 'href' tag.
<link rel="stylesheet" type="text/css" href="<%=SERVER_CONTEXT%>web/css/<%=sCSS_TEMPLATE%>">
IS This could be any problem, please clarify my doubt....
Thank u,
with regards,
Subrahmanyam.O