还有application对象呀。
还有直接在servlet定义变量b,在jsp中创建哪个servlet的对象a  然后a.b就可以得到哪个变量了
还有:象javabean那样为变量定义他对应的getxxx(),setxxx()方法,