Greeting Setup Win 2K , Tomcat 5.0.28 with struts 1.2.7
Problem: Every action being "forward to" always execute the webapps/mycontext/index.jsp prior to the action being invoked Web.xml <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> index.jsp %@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <% System.out.println("------ MAIN INDEX.JSP ----"); %> <logic:redirect action="/enter"/> struts-config.xml <action path="/enter" scope="request" type="org.storeorder.store.catalog.action.EnterAction" validate="false"> <forward name="sucess" path="/catalog/catalog.jsp" /> </action> <action path="/storeinfo" forward="/catalog/aboutus.jsp"/> in catalog.jsp tr> <td colspan="3" bgcolor="#D0DCEE"> <ul> <li class="PurpleBulletLinks"><strong><a href="<%=request.getContextPath()%>/storeinfo.do">About Us </a> </strong></li> when I click on the "About Us" this is what happen .... From the server log DEBUG 15:19:20 ModuleUtils - Get module name for path /storeinfo.do DEBUG 15:19:20 ModuleUtils - Module name found: default DEBUG 15:19:20 RequestProcessor - Processing a 'GET' for path '/storeinfo' DEBUG 15:19:20 RequestProcessor - Delegating via forward to '/catalog/aboutus.jsp' ------ MAIN INDEX.JSP ---- DEBUG 15:19:20 ModuleUtils - Get module name for path /enter.do DEBUG 15:19:20 ModuleUtils - Module name found: default DEBUG 15:19:20 RequestProcessor - Processing a 'GET' for path '/enter' DEBUG 15:19:20 RequestProcessor - Looking for Action instance for class org.sto reorder.store.catalog.action.EnterAction DEBUG 15:19:20 RequestProcessor - Returning existing Action instance Inside Enter Action DEBUG 15:19:20 EnterAction - EnterAction - Exit 0 DEBUG 15:19:20 RequestProcessor - processForwardConfig(ForwardConfig[name=sucess ,path=/catalog/catalog.jsp,redirect=false,contextRelative=false,module=null]) It seems to me it went back and execute the index.jsp again before execute /catalog/aboutus.jsp It happens in all other action, it always executes the index.jsp from the context path first why ? Any Clue ? Thanks in advance ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]