本文整理了Java中org.apache.catalina.Wrapper.getServletClassName()
方法的一些代码示例,展示了Wrapper.getServletClassName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wrapper.getServletClassName()
方法的具体详情如下:
包路径:org.apache.catalina.Wrapper
类名称:Wrapper
方法名:getServletClassName
[英]Return the fully qualified servlet class name for this servlet.
[中]返回此servlet的完全限定servlet类名。
代码示例来源:origin: org.glassfish.web/web-glue
/**
* Configures the given web module's DefaultServlet with the
* applicable web properties from sun-web.xml.
*/
private void configureDefaultServlet(WebModule webModule) {
// Find the DefaultServlet
Wrapper wrapper = (Wrapper)webModule.findChild("default");
if (wrapper == null) {
return;
}
String servletClass = wrapper.getServletClassName();
if (servletClass == null
|| !servletClass.equals(Globals.DEFAULT_SERVLET_CLASS_NAME)) {
return;
}
String fileEncoding = webModule.getFileEncoding();
if (fileEncoding != null) {
wrapper.addInitParameter("fileEncoding", fileEncoding);
}
}
}
代码示例来源:origin: org.glassfish.main.web/web-core
((Context) getParent()).findChild(Constants.JSP_SERVLET_NAME);
if (jspWrapper != null) {
actualClass = jspWrapper.getServletClassName();
代码示例来源:origin: org.glassfish.main.web/web-core
ServletRegistrationImpl regis = null;
if (isProgrammatic ||
(null == wrapper.getServletClassName() &&
null == wrapper.getJspFile())) {
regis = createDynamicServletRegistrationImpl(
if (null == wrapper.getServletClassName() &&
null == wrapper.getJspFile()) {
wrapper.getServletClassName())) {
isJsfApplication = true;
代码示例来源:origin: org.glassfish.main.web/web-core
wrapper = (Wrapper) context.findChild(name);
if (wrapper != null) {
String actualServletClass = wrapper.getServletClassName();
if ((actualServletClass != null)
&& (actualServletClass.startsWith
内容来源于网络,如有侵权,请联系作者删除!