[Opensource] default homepage for expresso4.0 application

Michael Rimov rimovm at centercomp.com
Fri Jun 7 13:45:45 PDT 2002


At 03:19 PM 6/7/2002 -0400, you wrote:
>Hello,
>
>I have some experience with Struts1.0. I can point default homepage
>of TOMCAT 3.2  application by add the following to web.xml
>
><welcome-file-list>
><welcome-file>index.jsp</welcome-file>
></welcome-file-list>
>
>but I can not do it in Expresso 4.0. I add the above to the
>$expressohomedirector$/webapps/expresso/WEB-INF/web.xml. Then I
>restart the Expresso4.0 (complete version). And I got error message
>says:
>
>Starting service Tomcat-Standalone
>Apache Tomcat/4.0
>PARSE error at line 215 column -1
>org.xml.sax.SAXParseException: Element "web-app" does not allow
>"welcome-file-li
>st" here.
>Starting service Tomcat-Apache
>Apache Tomcat/4.0
>
>How can I set the default homepage for expresso application like
>Orange Trader?
Victor, it sounds like the XML doc is simply validating wrong.  You 
probably have wlecome-file-list in the wrong location within the web.xml is 
my guess.  If you have a validating editor, you should be able to track it 
down.  If you don't, study the webapp DTD, I'm sure you'll find what is 
going wrong there.

HTH!
                                                 -Mike




More information about the Opensource mailing list