Make sure everything is in order according to the DTD for web.xml.  Example:
all <servlet> tags must come before any <servlet-mappings> tags, this is a
common mistake.

hth,
Scott

> -----Original Message-----
> From: Jerome DESFERET [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 05, 2002 7:59 AM
> To: [EMAIL PROTECTED]
> Subject: Struts and Jetspeed
> 
> Hi,
> 
> I want to put Struts in the same webapps than Jetspeed.
> I copied the Struts jar in the directory lib of jetspeed
> I copied Different tld and struts-config.xml in the web-inf directory.
> I copied the web-xml of Struts in the web-xml of Jetspeed.
> 
> Like this failed, i just copied this : in the web-xml of jetspeed :
> 
> <!-- Standard Action Servlet Configuration (with debugging) -->
>   <servlet>
>     <servlet-name>action</servlet-name>
> 
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     <init-param>
>       <param-name>application</param-name>
>       <param-value>ApplicationResources</param-value>
>     </init-param>
>     <init-param>
>       <param-name>config</param-name>
>       <param-value>/WEB-INF/struts-config.xml</param-value>
>     </init-param>
>     <init-param>
>       <param-name>debug</param-name>
>       <param-value>2</param-value>
>     </init-param>
>     <init-param>
>       <param-name>detail</param-name>
>       <param-value>2</param-value>
>     </init-param>
>     <init-param>
>       <param-name>validate</param-name>
>       <param-value>true</param-value>
>     </init-param>
>     <load-on-startup>2</load-on-startup>
>   </servlet>
> 
> 
> 
> But when i launch Tomcat i have an error of parsing :
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.1
> PARSE error at line 129 column 11
> org.xml.sax.SAXParseException: The content of element type "web-app"
> must match
> "(icon?,display-name?,description?,distributable?,context-param*,servlet
> *,servle
> t-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,
> taglib*,
> resource-ref*,security-constraint*,login-config?,security-role*,env-entr
> y*,ejb-r
> ef*)".
> Starting service Tomcat-Apache
> 
> Is there anyone who can help me or someone who have installed Struts in
> jetspeed in the same webapp.
> 
> Thanks, regards
> 
> 
> __________________________________________________________________________
> ____
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> http://www.ifrance.com/_reloc/email.emailif
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:jetspeed-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:jetspeed-user-
> [EMAIL PROTECTED]>

Reply via email to