07 2012 档案
摘要:服务端服务端webserviceServer的代码如下:package server;public class HelloServer { public String sayHello(String name){ return "Hello! webservice... "+name; }}在eclipse中,右键点击该类,选择webservice --> create webservice注意要选择public the web servicefinish之后, 服务端的代码写好了。 启动服务器,可以在浏览器中输入:http://loc...
阅读全文
摘要:1.先写jsp页面。<%@ page contentType="text/html;charset=utf-8"%><% String ctx = request.getContextPath(); //String ext = ctx + "/ext-3.0.0"; pageContext.setAttribute("ctx", ctx); //pageContext.setAttribute("ext", ext);%><html> <head> <meta
阅读全文
摘要:extjs放在本地tomcat中部署运行 在 server.xml文件中:<Context path="/ext-3.3.0" docBase="D:\ext-3.3.0"/>启动tomcat 在浏览器中输入:http://localhost:8080/ext-3.3.0/
阅读全文

浙公网安备 33010602011771号