摘要:
服务端服务端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
合肥房屋托管
阅读(3039)
评论(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
合肥房屋托管
阅读(5162)
评论(1)
推荐(0)