Hi, I still ahve problem with the struts installation. I can t run
the struts-example application. When I access a .do url, the page
does^'t exists.
the apache error log file says :

[Fri Aug 31 10:43:38 2001] [error] [client 127.0.0.1] File does not
exist:
c:/destin/tomcat/webapps/struts-example/editregistration.do;jsessionid=m
vd7oko431



I checked that I have every thing. The differences between your web.xml
file and my
concern the 'application' init param. You are using a class
com.bs.jobpost.ApplicationRessources
and I, the org.apache.struts.webapp.example.ApplicationRessources.

Why ? I don't know where comes from your class.

If something is missing in my configuration to use struts, it should
appear
an error in some error log files. Which one should i check ?
tomcat/logs/... ?
apache/logs/error.log ?

which ?

when you said that i have to put the struts.jar in the lib directory
this is in the webapps/struts-example/WEB-INF/lib directory where i can
find it
after the installation.

I have installed the binary distribution of struts, And in the source
distribution installation guide you are talking about some
common-***.jar file. I don't have this file in the binary distrib, i
supposed that every is in the struts.jar. Am i correct ?

tanx for your help ... 


-----Original Message-----
From: Daniel Jimenez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 6:24 PM
To: [EMAIL PROTECTED]; Maxime Saby
Subject: Re: using actions xxxx.do


Don't forget your struts.jar in lib and add the ActionServlet as part of
your web.xml
        <servlet>
                <servlet-name>action</servlet-name>
        
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
                        <init-param>
                              <param-name>application</param-name>
        
<param-value>com.bs.jobpost.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>validate</param-name>
                                <param-value>true</param-value>
                        </init-param>
                    <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
                <servlet-name>action</servlet-name>
                <url-pattern>*.do</url-pattern>
        </servlet-mapping>

Is tomcat even loading the web app correctly?
>>> [EMAIL PROTECTED] 8/30/01 10:57:12 AM >>>

I just finish the installation of struts but when
i access a url with logo.do i do not have the page.

The page cant be found.


I have the line about the .do action servlet mapping and the tld
files where they are supposed to be but nothing ...

In my tomcat/lib folder, i have the jasp parser ... jar ressources.


What is the problem ?

tanx in advance
maxime


  <!-- Action Servlet Mapping -->
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>


  <!-- Struts Tag Library Descriptors -->
  <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  </taglib>



_______________________________________________
 Maxime Saby            http://www.linkvest.com 
 Linkvest SA            mailto:[EMAIL PROTECTED] 
 av des Baumettes 19,    Tel : 41/21/632 90 00
 1020 Renens            Fax : 41/21/632 90 90
 Switzerland


Reply via email to