<jsp:forward page="portal" /> 这句重定向指哪里啊
tomcat root下 有个index.jsp 里边就一句 <jsp:forward page="portal" />
问下 portal是个servlet-mapping么。对应哪里的?
我在ROOT\WEB-INF的web.xml里看到了这个 但不知道是不是。另外问下为什么要把好几个url-pattern对应的name都叫jetspeed? /portal/* 这么写又代表什么啊
<servlet-mapping>
<servlet-name>
jetspeed
</servlet-name>
<url-pattern>
/portal/*
</url-pattern>
</servlet-mapping>
web.xml内容如下:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Jetspeed-2 Enterprise Portal</display-name>
<!-- Log4JConfigurator context-listener parameters -->
<context-param>
<param-name>log4j.config.file</param-name>
<param-value>/WEB-INF/conf/Log4j.properties</param-value>
</context-param>
<context-param>
<param-name>log4j.config.webApplicationRoot.key</param-name>