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... 阅读全文
posted @ 2012-07-26 16:46 合肥房屋托管 阅读(3048) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2012-07-26 16:03 合肥房屋托管 阅读(5172) 评论(1) 推荐(0)
摘要:extjs放在本地tomcat中部署运行 在 server.xml文件中:<Context path="/ext-3.3.0" docBase="D:\ext-3.3.0"/>启动tomcat 在浏览器中输入:http://localhost:8080/ext-3.3.0/ 阅读全文
posted @ 2012-07-25 13:59 合肥房屋托管 阅读(2010) 评论(0) 推荐(0)