portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r545114 - /portals/jetspeed-2/trunk/src/webapp/index.jsp
Date Thu, 07 Jun 2007 08:54:04 GMT
Author: ate
Date: Thu Jun  7 01:54:03 2007
New Revision: 545114

URL: http://svn.apache.org/viewvc?view=rev&rev=545114
Log:
Replacing server-side forward with client-side redirect to /portal/ as certain webframeworks
(e.g. Wicket) look at the "javax.servlet.forward.servlet_path" request attribute
for determining their current request path.

Modified:
    portals/jetspeed-2/trunk/src/webapp/index.jsp

Modified: portals/jetspeed-2/trunk/src/webapp/index.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/index.jsp?view=diff&rev=545114&r1=545113&r2=545114
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/index.jsp (original)
+++ portals/jetspeed-2/trunk/src/webapp/index.jsp Thu Jun  7 01:54:03 2007
@@ -14,6 +14,4 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 --%>
-<jsp:forward page="portal/"/>
-
-
+<% response.sendRedirect(response.encodeRedirectURL("portal/")); %>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message