Ted suggested this solution to solve having a welcome page redirect to a
struts action.
I tried it but encountered an issue because my default action requires
tomcat-based authentication.
Ex. path="/protected/mainmenu.do"
The redirect to this action works for http://host:8080/myapp/ ->
mainmen
Maybe you could use a jsp:include to include the response from the
announcements.do ...
-Original Message-
From: Calvin Lau [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 8:05 AM
To: [EMAIL PROTECTED]
Subject: Welcome Page Action
I'm trying to figure out the best way of making m
index.jsp:
<%
/**
* Redirect default requests to Welcome action.
*/
%>
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
Struts-config:
You could also use "announcements" instead of "welcome", but I tend to
standardize on forwarding
3 matches
Mail list logo