An explicit context name can be provided using the context attribute.
可以使用contex t属性提供显式的上下文名称。
The only notable thing PrintName does is utilize the context attribute ctxt.name.
关于PrintName惟一需要注意的一点是:它使用了上下文属性ctxt . name。
Without a value for the context attribute, such an absolute URL is assumed to reference a resource in the current servlet context.
如果没有为contex t属性指定值,那么就认为这样的绝对URL引用当前servlet上下文内的资源。
应用推荐