于 2004-11-11 17:01
javax.sql.*,
java.sql.*,
java.io.*,
java.util.*,
javax.servlet.http.*,
javax.servlet.*,
javax.naming.*,
java.text.*;"
%>
/***************************javaWebStart************************************/
/*编写人:
/*编写日期:
/*修改日期:
/*功能:
/*调用关系:
/**************************************************************************/
public void javaWebStart(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
//Get arguments from http request
String protocol = request.getScheme();
String ip = request.getServerName();
int port = request.getServerPort();
String app = request.getContextPath();
response.setContentType("application/x-java-jnlp-file");
PrintWriter outj = response.getWriter();
// Construct JNLP File
outj.println("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
outj.println("");
outj.println("");
outj.println("
AlarmBoard");outj.println("
");outj.println("ZYUC");
outj.println("");
outj.println("");
outj.println("AlarmBoard.");
outj.println("");
outj.println("AlarmBoard.");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.println("");
outj.flush();
outj.close();
}
%>
javaWebStart(request,response);
%>
这是我的jsp文件的全部内容了,帮我看一下,我还是只能输出
ZYUC AlarmBoard. AlarmBoard.
别的什么都没有。
鞠躬了。