jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Milora" <joemil...@cox.net>
Subject Re: malformed url
Date Thu, 06 Mar 2003 16:47:29 GMT

Here is the entire message stack: (Using the servletTestCase)

testAction(us.mistura.web.ActionServletTest)java.net.MalformedURLException:
no protocol: /ServletRedirector

at java.net.URL.<init>(URL.java:579)

at java.net.URL.<init>(URL.java:476)

at java.net.URL.<init>(URL.java:425)

at
org.apache.cactus.client.HttpClientConnectionHelper.dispatch24_connect(HttpC
lientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)

at
org.apache.cactus.client.HttpClientConnectionHelper.around24_connect(HttpCli
entConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236)

at
org.apache.cactus.client.HttpClientConnectionHelper.connect(HttpClientConnec
tionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):106)

at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.j
ava;org/apache/cactus/util/log/LogAspect.aj(1k):186)

at
org.apache.cactus.client.AbstractHttpClient.dispatch2_doTest(AbstractHttpCli
ent.java;org/apache/cactus/util/log/LogAspect.aj(1k):109)

at
org.apache.cactus.client.AbstractHttpClient.around2_doTest(AbstractHttpClien
t.java;org/apache/cactus/util/log/LogAspect.aj(1k):1236)

at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o
rg/apache/cactus/util/log/LogAspect.aj(1k):104)

at
org.apache.cactus.AbstractWebTestCase.runGenericTest(AbstractWebTestCase.jav
a:260)

at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)

at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:195)

at us.mistura.web.ActionServletTest.main(ActionServletTest.java:24)



----- Original Message -----
From: "Joseph Milora" <joemilora@cox.net>
To: <cactus-user@jakarta.apache.org>
Sent: Thursday, March 06, 2003 8:43 AM
Subject: malformed url


Hi,

I'm attempting to setup up cactus using the StrutsTestCase(I've tried with
the servlettestcase also) and I keep receiving the following
error message-

testAction(us.mistura.web.ActionServletTest)java.net.MalformedURLException:
no protocol: /ServletRedirector

My cactus.properties contains:

cactus.contextURL=

http://@host@:@port@/@web.context@   (correct information is being
generated)

cactus.servletRedirectorName = ServletRedirector

cactus.jspRedirectorName = JspRedirector



Can someone tell me what I'm missing?

thanks,

Joe Milora




Mime
View raw message