[Opensource] default homepage for expresso4.0 application

Mike Traum mtraum at cirnetwork.org
Fri Jun 7 14:34:38 PDT 2002


It could be that you have web.xml out of order. It needs to be in order
according to the dtd:
<!ELEMENT web-app (icon?, display-name?, description?,
distributable?, context-param*, filter*, filter-mapping*,
listener*, servlet*, servlet-mapping*, session-config?, mimemapping*,
welcome-file-list?, error-page*, taglib*, resourceenv-
ref*, resource-ref*, security-constraint*, login-config?,
security-role*, env-entry*, ejb-ref*, ejb-local-ref*)>

Mike

-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com]On Behalf Of victor
Sent: Friday, June 07, 2002 2:20 PM
To: opensource at javacorporate.com
Subject: [Opensource] default homepage for expresso4.0 application


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?

Thanks

Victor
_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list