Thanks ...
now it's working fine...

Pandiaraj <[EMAIL PROTECTED]> wrote:
All tags should come before . In your web.xml you have placed tag before tag (second 
servlet configuration). Put this second tag before 

Cheers,
Pandiaraj



On Mon, 12 Jul 2004 ashwini jagtap wrote :
>Hi ,
>I am using struts 1.1 and tomcat 4.1.29.
>while running tomcat i am getting this error...
>SEVERE: Parse Error at line 243 column 11: The content of element type "web-app"
> must match "(icon?,display-name?,description?,distributable?,context-param*,fil
>ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma
>pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
>curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re
>f*)".
>
>
>Here is my web. xml file..
>
>
>
>
>
>
>
>
>>
>PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>
>"http://java.sun.com/dtd/web-app_2_3.dtd";>
>
>
>
>
>
>
>
>action
>
>org.apache.struts.action.ActionServlet
>
>
>
>
config

>
>
/WEB-INF/struts-config.xml,/WEB-INF/struts-config-nationaltest.xml,/WEB-INF/struts-config-workinglevels.xml,/WEB-INF/struts-config-standardgrades.xml,/WEB-INF/struts-config-higherunit.xml,/WEB-INF/struts-config-entercomments.xml,/WEB-INF/struts-config-overallpercentage.xml,/WEB-INF/struts-config-reportstatus.xml,/WEB-INF/struts-config-enterratings.xml

>
>
>
>
>
>
TRACELEVEL

>
>
5

>
>
>
>
>
>
LOGSTATUS

>
>
Y

>
>
>
>>
>
SESSIONTIME

>
>
2000

>
>
>
>
>
>
DBServer

>
>
172.21.15.6

>
>
>
>
>
>
DBUid

>
>
sa

>
>
>
>
>
>
>
>
DBPwd

>
>
sadbawb123

>
>
>
>
>
>
DBPort

>
>
1433

>
>
>
>
>
>
DBDriver

>
>
net.sourceforge.jtds.jdbc.Driver

>
>
>
>
>
>
>
>
InitialConnections

>
>
5

>
>
>
>
>
>
>
>
MaximumConnections

>
>
10

>
>
>
>1
>
>
>
>
>
>
>
>
>
>action
>
>*.do
>
>
>
>
>
>
>
>MeritDemeritServlet
>
>common.MeritDemeritServlet
>
>
>
>
>
>MeritDemeritServlet
>
>/MeritDemeritServlet
>
>
>
>
>
>
>
>ico
>
>image/ico
>
>
>
>
>
>
>
>/index.jsp
>
>
>
>
>
>
>
>Entire Application
>
>/images/*
>
>/javascripts/*
>
>/css/*
>
>/WEB-INF/*
>
>/log/*
>
>/app/*
>
>*.jsp
>
>*.java
>
>
>
>
>
>WebClickNGo
>
>
>
>
>
>
>
>FORM
>
>
>
>WebClickNGo
>
>
>
>/app/login.jsp
>
>/app/error.jsp
>
>
>
>
>
>
>
>/WEB-INF/struts-bean.tld
>
>/WEB-INF/struts-bean.tld
>
>
>
>
>
>/WEB-INF/struts-html.tld
>
>/WEB-INF/struts-html.tld
>
>
>
>
>
>/WEB-INF/struts-logic.tld
>
>/WEB-INF/struts-logic.tld
>
>
>
>
>
>/WEB-INF/struts-template.tld
>
>/WEB-INF/struts-template.tld
>
>
>
>
>
>
>
>/tags/struts-tiles
>
>/WEB-INF/struts-tiles.tld
>
>
>
>
>
>
>
>
>
>plz correct me if i have written this config file wrong..
>
>Thanks..
>
>Ashwini
>
>
>
>---------------------------------
>Do you Yahoo!?
>New and Improved Yahoo! Mail - 100MB free storage!


"First they will ignore you, then they will laugh at you, then they will fight you, 
then you will win"
-Mahatma Gandhi

                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

Reply via email to