ÓÐËÓÃjava×ö¹ý´òÓ¡·¢Æ±µÄ³ÌÐò£¬¸Ð¾õÕâ·½Ãæ²»ÊǺܺÿØÖÆ£¬Ï£Íû¸øµã½¨Ò飬×îºÃÄܸø³ö´úÂë
¼òµ¥µã¾Íµ÷ÓÃwindow.print()
ÄãÒ²¿ÉÒÔ°ÑÏÂÃæ´úÂë·Åµ½ÄãJSPÖÐ:
<html>
<head>
<title>M</title>
<style type="text/css">
.table{
text-align:center;
}
</style>
<style media="print">
.Noprint{display:none;}
.PageNext{page-break-after: always;}
</style>
</head>
<body>
<center class="Noprint">
<p>
<object id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0"
width="0">
</object>
<input type="button" value="´òÓ¡" onclick="document.all.WebBrowser.ExecWB(6,1)">
<input type="button" value="Ö±½Ó´òÓ¡" onclick="document.all.WebBrowser.ExecWB(6,6)">
<input type="button" value="Ò³ÃæÉèÖÃ" onclick="document.all.WebBrowser.ExecWB(8,1)">
</p>
Ïà¹ØÎÊ´ð£º
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄÇ°ºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......
ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
±¾ÈËÏ뿪·¢Ò»¸öjava´úÂë×Ô¶¯Éú³Éϵͳ£¬±¾ÈËÉèÏëµÄÊÇÕâÑùµÄ ÎÒÃÇÔÚʵ¼Ê¿ª·¢ÖлáÓдóÁ¿µÄÖظ´´úÂë ÎÒÏë°ÑÕâЩ¾³£ÓõĴúÂë±£³Öµ½Êý¾ÝÀïÃæ ͨ¹ýÒ³ÃæÑ¡Ôñ ¿ÉÒÔÖ±½Ó°ÑÕâЩ´úÂë±£´æµ½Ò»¸ö.javaÎļþÖÐÈ¥£¬ÎÒÏÖÔÚÓÃÁËÒ»ÖÖ·½· ......