I did read the faq and searched the archive, but I still get the following
error ...
I played around with the method
setConfigFile(pathname);
in my MockStrutsTestCase
and always get a
Missing Resource ... /WEB-INF/struts-config.xml
or a
NullPointerException
###
public
forgot about this: I am using Struts 1.0.1 and StrutsTestCase 1.6
###
I did read the faq and searched the archive, but I still get the following
error ...
I played around with the method
setConfigFile(pathname);
in my MockStrutsTestCase
and always get a
Missing Resource ...
thanks for your answer first ...
I did not understand the java-doc for setConfigFile() like this.
o.k. - the File has to be on the classpath anyway ...
I put the struts-config.xml in the classes directory (which is in the
classpath) because I can not
set nested directories in the classpath in
Tadashi,
as you mentioned I tried
CactusStrutsTestCase
earlier and
- no problems !!!
I did it now again with my new Application ...
changed the SuperClass of my TestCase
and started my local Tomcat installation
- no problems !!!
... MockStrutsTestCase still produces this:
sorry, but I am not familier with this ...
where can I find some information about it?
thanks
Toni
MAN Nutzfahrzeuge AG
Anton Grimm
Abt. IDP (SoftwareProduktionsumgebungen)
Dachauerstr.667
80995 München
Tel.: 089/1580-1054
Fax:
hi all,
sorry first for one more question on this topic,
but I am trying to run struts-sample and another application using
WebSphere 3.5.4 on Linux 7.2 for almost 4 days without success.
I was reading the installation hints
http://jakarta.apache.org/struts/installation-was352-x.html
sorry for this one
the whole file web.xml
##
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app SYSTEM
file:/opt/IBMWebAS/hosts/default_host/OKBVWebApp/servlets/org/apache/struts/resources/web-app_2_2.dtd
web-app
servlet
servlet-nameaction/servlet-name
I was to concentrated on the directory structure, web.xml and
struts-config.xml ...
The simple fault was the init-parameter validate/ for the Action-Servlet
was set to
param-valuefalse/param-value
in the Admin-Console.;-(((
Toni
Any ideas?
I'm successfully working with Struts 1.0 in WTE ...
Now I'd like to take a look at Struts 1.1-b1.
Trying to run the struts-example I get the
following error ...
Actually my Projects Jakarta Struts Framework and Jakarta Commons
Framework is in the Classpath
of the ServletEngine
9 matches
Mail list logo