We have all of our jsp's under Web-Inf. Therefore, you must call the action class to get to a web page. This all works great except for our welcome page called welcome.jsp that was built with Struts Tiles. If we go to the browser and just type "http://localhost:8080/FedDebtWeb/controllers/welcome" we can get to the welcome page. If we type only "http://localhost:8080/FedDebtWeb" it does not find the welcome.jsp page. Any suggestions on how to make this work? Thanks, Pete Gabriel
Here are the code snippets for the different files: web.xml <!-- Action Servlet Mapping --> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>/controllers/*</url-pattern> </servlet-mapping> <!-- The Welcome File List --> <welcome-file-list> <welcome-file>/welcome</welcome-file> </welcome-file-list> struts.config.xml <!-- ========== Global Forward Definitions ============================== --> <global-forwards> <forward name="/welcome" path="/controllers/welcome" /> </global-forwards> <!-- ========== Action Mapping Definitions ============================== --> <action-mappings> <action path="/welcome" type= "gov.treas.fms.feddebt.web.action.WelcomeAction" scope="request" validate="false"> <forward name="page" path="views.welcome"/> </action> </action-mappings> tiles.def.xml <definition name="standardLayout" path= "/WEB-INF/views/layout/standardLayout.jsp"> <put name="title" value="FedDebt"/> <put name="menu" value="menu"/> <put name="header" value="header"/> <put name="footer" value="footer"/> </definition> <!-- ======================================================= --> <!-- Welcome page definition --> <!-- ======================================================= --> <definition name="views.welcome" extends="standardLayout"> <put name="body" value="/WEB-INF/views/body/welcome.jsp"/> </definition> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>