?? customeroperate.jsp
字號(hào):
<%-- Document : Customeroperate Created on : 2009-4-6, 16:13:08 Author : Levi Wong--%><%@page contentType="text/html" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Hello World!</h1> <% String accountNum = request.getParameter("accountNum"); String accountPassword = request.getParameter("accountPassword"); int operateAmount = Integer.parseInt(request.getParameter("operateAmount")); String operateType = request.getParameter("OperateType"); %> <%-- start web service invocation --%><hr/> <% try { org.netbeans.j2ee.wsdl.bpbanking.customerwsdl.CustomerWSDLService service = new org.netbeans.j2ee.wsdl.bpbanking.customerwsdl.CustomerWSDLService(); org.netbeans.j2ee.wsdl.bpbanking.customerwsdl.CustomerWSDLPortType port = service.getCustomerWSDLPort(); // TODO initialize WS operation arguments here com.sun.demo.openesb.types.customerrequestmsg.CustomerRequestMsg customerInput = new com.sun.demo.openesb.types.customerrequestmsg.CustomerRequestMsg(); customerInput.setAccountNum(accountNum); customerInput.setAccountPassword(accountPassword); customerInput.setOperateAmount(operateAmount); customerInput.setOperateType(operateType); // TODO process result here com.sun.demo.openesb.types.customerresponsemsg.CustomerResponseMsg result = port.customerWSDLOperation(customerInput); out.println("Result = "+result); out.println("More Details: " + result.getStatus()); } catch (Exception ex) { // TODO handle custom exceptions here out.println(ex); } %> <%-- end web service invocation --%><hr/> </body></html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -