What browser are you using to load this jsp? If Microsoft IE, it is likely that IE is trying to hand off to an Excel plug-in (aka "Active X control"). In this case, IE reads enough of the output of your jsp to determine that it should hand-off to Excel. Then it fires up Excel, and give the URL to Excel, which reads it again.

=Spencer

Alkesh Barot wrote:

Hi

My problem is that Jsp is executed two time ...??/


----x.jsp---
<%@ page contentType="application/msexcel" %>
<%
System.out.println("name:"+request.getParameter("name"));
%>

<html>
<body>
</body>

</html>
------
if i run this jsp in jboss server, it is printing two
times "name: xxx" on console
means execute two times!!!

how to avoid it?

thanks in advance, pls extend your help

regards,
Alkesh


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________


____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to