Simple Web Example

eclipse3.7

运行一个简单的servlet,Target Platfrom 必要的jar为

0 ACTIVE      org.eclipse.osgi_3.7.2.v20120110-1415
8 ACTIVE      org.eclipse.equinox.http.registry_1.1.100.v20110502
9 ACTIVE      org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611
13 ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
14 ACTIVE      javax.servlet_2.5.0.v201103041518
15 ACTIVE      org.eclipse.osgi.services_3.3.0.v20110513
24 RESOLVED    com.sample.web_1.0.0
25 ACTIVE      org.eclipse.equinox.http.servlet_1.1.200.v20110502
26 ACTIVE      org.apache.commons.logging_1.0.4.v201101211617
27 ACTIVE      org.mortbay.jetty.util_6.1.23.v201012071420
28 ACTIVE      org.eclipse.equinox.http.jetty_2.0.100.v20110502
29 ACTIVE      org.mortbay.jetty.server_6.1.23.v201012071420

MANIFEST.MF

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Web  Plug-in
Bundle-SymbolicName: com.sample.web;singleton:=true
Bundle-Version: 1.0.0
Bundle-Vendor: SAMPLE
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: javax.servlet;version="2.5.0",
 javax.servlet.http;version="2.5.0"
时间: 2024-08-29 03:18:45

Simple Web Example的相关文章

Simple Web API Server in Golang (2)

In this challenge, I tried to implement a simple OAuth2 server basing on Simple Web API Server in [1]. For OAuth2, go to http://oauth.net/2/. Endpoint /api/2/domains/{domain name}/oauth/access_token Use port 80. We would like to use other ports such

Simple Web API Server in Golang (1)

To be an better Gopher, get your hands dirty. Topcoder offered a serials of challenges for learning Golang. In this blog, I tried to implement "Go Learning Challenge - Simple Web-API Server"[1]. What's used in this challenge ? Following aspects

A Simple Web Server

介绍 在过去20几年里,网络已经在各个方面改变了我们的生活,但是它的核心却几乎没有什么改变.多数的系统依然遵循着Tim Berners-Lee在上个世纪发布的规则.大多数的web服务器都在用同样的方式处理消息 背景 多数在web上的服务器都是运行在IP协议标准上.在这协议家族里面我们关心的成员就是TCP,这个协议使得计算机之间的通信看起来像是在读写文件. 项目通过套接字来使用IP通信.每个套接字都是一个点对点的通信信道,一个套接字包含IP地址,端口来标识具体的机器.IP地址包含4个8Bit的数字

A Complete ActiveX Web Control Tutorial

? Introduction ActiveX is a Microsoft technology developed in the mid 90's, that allows for the creation of applet-like applications that can be downloaded and run within Microsoft's Web browser. This article is intended for Visual C++ developers who

Java web项目

前言 本文目标:使用eclipse为IDE环境搭建一个基于maven的web项目,讲解搭建过程,项目结构,程序运行.调试和测试过程,并使用maven作为持续集成工具. ? ? 面向对象:转型java的.net开发人员 ? ? 知识点:eclipse,maven,jfinal,jetty,tomcat,junit ? ? 环境准备 Maven 安装maven-3.3.9, 建议3.0+版本 检查安装版本,命令行输入: mvn -version ? ? ? ? ? ? Tomcat 下载tomcat

Web压力测试工具 webbench

在运维工作中,压力测试是一项很重要的工作.比如在一个网站上线之前,能承受多大访问量.在大访问量情况下性能怎样,这些数据指标好坏将会直接影响用户体验.但是,在压力测试中存在一个共性,那就是压力测试的结果与实际负载结果不会完全相同,就算压力测试工作做的再好,也不能保证100%和线上性能指标相同.面对这些问题,我们只能尽量去想方设法去模拟.所以,压力测试非常有必要,有了这些数据,我们就能对自己做维护的平台做到心中有数 1.简介 webbench是知名的网站压力测试工具,它是由Lionbridge公司(

Linux下Web网站压力测试工具Webbench

webbench最多可以模拟3万个并发连接去测试网站的负载能力,个人感觉要比Apache自带的ab压力测试工具好用,安装使用也特别方便,并且非常小. 一,环境:linux 二,安装方式:编译安装 具体步骤如下: 1,安装编译工具: [[email protected] install]# yum install ctags wget make apr* autoconf automake gcc gcc-c++ 2,下载该软件包 [[email protected] install]# wget

【OpenSource】--Web Bench 1.5

[简介]linux下开源软件webbench-1.5简介 Web Bench is very simple tool for benchmarking WWW or proxy servers. Uses fork() for simulating multiple clients and can use HTTP/0.9-HTTP/1.1 requests. This benchmark is not very realistic, but it can test if your HTTPD

Nginx 0.8.x + PHP 5.2.13(FastCGI)搭建胜过Apache十倍的Web服务器

[文章作者:张宴 本文版本:v6.3 最后修改:2010.07.26 转载请注明原文链接:http://blog.zyan.cc/nginx_php_v6/] 前言:本文是我撰写的关于搭建“Nginx + PHP(FastCGI)”Web服务器的第6篇文章.本系列文章作为国内最早详细介绍 Nginx + PHP 安装.配置.使用的资料之一,为推动 Nginx 在国内的发展产生了积极的作用.本文可能不断更新小版本,请记住原文链接“http://blog.zyan.cc/nginx_php_v6/”