云
云淡风轻
Unregistered / Unconfirmed
GUEST, unregistred user!
JSP页面1通过form的Action导向JSP页面2,JSP页面2包含一段显示打印对话框的java API,如下:
<%!
public class printbox
{
public printbox()
{
PrinterJob pjob=PrinterJob.getPrinterJob();
booleando
Print = pjob.printDialog();
if (doPrint) {}
}
}
%>
<%
printbox printabox=new printbox();
%>
请问这种处理方式错在哪里?
<%!
public class printbox
{
public printbox()
{
PrinterJob pjob=PrinterJob.getPrinterJob();
booleando
Print = pjob.printDialog();
if (doPrint) {}
}
}
%>
<%
printbox printabox=new printbox();
%>
请问这种处理方式错在哪里?