<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Can you exactly expain what you did?</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=zhangnc@sympatico.ca href="mailto:zhangnc@sympatico.ca">Zhang NC</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org 
  href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, November 07, 2003 10:12 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Re: redirect 
  without apache (Hartmann, Waehrisch & Feykes GmbH)</DIV>
  <DIV><BR></DIV>
  <DIV>Thank Stephan for that you provid:</DIV>
  <DIV><FONT color=#0000ff></FONT> </DIV>
  <DIV><FONT color=#0000ff>Tomcat also supports virtual hosts. No need for 
  apache.<BR>There is a filter for url rewriting / redirecting:<BR></FONT><A 
  href="http://tuckey.org/urlrewrite/"><STRONG><FONT 
  color=#0000ff>http://tuckey.org/urlrewrite/</FONT></STRONG></A><BR><BR><FONT 
  color=#0000ff>Bye,<BR>Stephan</FONT></DIV>
  <DIV><FONT color=#0000ff></FONT> </DIV>
  <DIV><FONT color=#0000ff></FONT> </DIV>
  <DIV><FONT size=4>I've tryed this method, but can't get throuth. </FONT></DIV>
  <DIV><FONT size=4></FONT> </DIV>
  <DIV><FONT size=4>I've got problem:</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV><FONT size=2>
  <DIV><BR><FONT color=#808080>javax.servlet.ServletException: Resource loader 
  error in file 
  '/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp'</FONT></DIV>
  <DIV><FONT color=#808080></FONT> </DIV>
  <DIV><FONT color=#808080>Root cause:<BR>javax.servlet.ServletException: 
  org.apache.oro.text.perl.Perl5Util.substitute(Ljava/lang/StringBuffer;Ljava/lang/String;Ljava/lang/String;)I<BR> at 
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:673)<BR> at 
  org.apache.jsp.WEB_002dINF.jsp.online.system.modules.org_opencms_welcome.jsptemplates.welcome_jsp_jsp._jspService(welcome_jsp_jsp.java:81)<BR> at 
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)<BR> at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)<BR> at 
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)<BR> at 
  com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)<BR> at 
  com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)<BR> at 
  com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)<BR> at 
  com.opencms.flex.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:370)<BR> at 
  com.opencms.flex.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:262)<BR> at 
  org.apache.jsp.WEB_002dINF.jsp.online.index_jsp_jsp._jspx_meth_cms_include_0(index_jsp_jsp.java:191)<BR> at 
  org.apache.jsp.WEB_002dINF.jsp.online.index_jsp_jsp._jspService(index_jsp_jsp.java:64)<BR> at 
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)<BR> at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)<BR> at 
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)<BR> at 
  com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)<BR> at 
  com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)<BR> at 
  com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)<BR> at 
  com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)<BR> at 
  com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)<BR> at 
  com.opencms.core.OpenCms.showResource(OpenCms.java:956)<BR> at 
  com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)<BR> at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)<BR> at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)<BR> at 
  org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)<BR> at 
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670)<BR> at 
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)<BR> at 
  org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)<BR> at 
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)<BR> at 
  java.lang.Thread.run(Unknown Source)</FONT></DIV>
  <DIV><FONT color=#808080></FONT> </DIV>
  <DIV><FONT color=#808080>--------------- End of root cause.</FONT></DIV>
  <DIV><FONT color=#808080></FONT> </DIV>
  <DIV><FONT color=#808080> at 
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:670)<BR> at 
  org.apache.jsp.WEB_002dINF.jsp.online.index_jsp_jsp._jspService(index_jsp_jsp.java:173)<BR> at 
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)<BR> at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)<BR> at 
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)<BR> at 
  org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)<BR> at 
  com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)<BR> at 
  com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)<BR> at 
  com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)<BR> at 
  com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)<BR> at 
  com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)<BR> at 
  com.opencms.core.OpenCms.showResource(OpenCms.java:956)<BR> at 
  com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<BR> at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)<BR> at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)<BR> at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)<BR> at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)<BR> at 
  org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)<BR> at 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)<BR> at 
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)<BR> at 
  org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)<BR> at 
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670)<BR> at 
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)<BR> at 
  org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)<BR> at 
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)<BR> at 
  java.lang.Thread.run(Unknown Source)</FONT></DIV>
  <DIV> </DIV>
  <DIV> </DIV>
  <DIV>Would you please tell me what would I do?</DIV>
  <DIV> </DIV>
  <DIV>Thanks advance!</DIV>
  <DIV> </DIV>
  <DIV>Zhang</FONT></DIV>
  <DIV><FONT size=2></FONT><FONT 
size=2></FONT><BR><BR> </DIV></BLOCKQUOTE></BODY></HTML>