jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Avdic" <de...@betterway.net>
Subject Re: getStatusCode issue
Date Fri, 17 Oct 2003 15:23:10 GMT
Thanks!

I found an old jar file hanging around!

----- Original Message ----- 
From: "Vincent Massol" <vmassol@pivolis.com>
To: "'Cactus Users List'" <cactus-user@jakarta.apache.org>
Sent: Friday, October 17, 2003 11:03 AM
Subject: RE: getStatusCode issue


> Hi Denis,
> 
> WebResponse.getStatusCode() only exists since Cactus 1.5beta1. The fact
> that it says NoSuchMethodError during execution probably means that you
> must have some old cactus jar somewhere in your classpath (possibly in
> the system classpath). I cannot see any other reason.
> 
> Could you check that?
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: Denis Avdic [mailto:denis@betterway.net]
> > Sent: 17 October 2003 15:35
> > To: cactus-user@jakarta.apache.org
> > Subject: getStatusCode issue
> > 
> > Hello,
> > 
> > I have an issue testing one of my servlets.  At the end of the servlet
> my
> > action redirects the flow to a jsp.  It seems, however, that
> redirection
> > is turned off by default in cactus so I was just going to check the
> status
> > I get back.  Now, I put in a getStatusCode method call in my code and
> it
> > compiled fine however when I ran the test I get the following error:
> > 
> > org.apache.cactus.WebResponse.getStatusCode()I
> > 
> > java.lang.NoSuchMethodError:
> > org.apache.cactus.WebResponse.getStatusCode()I
> > at
> >
> com.lyonsinc.ebusiness.commerce.servlet.testRegister.endNewUserSuccessCa
> rt
> > (Unknown Source)
> > 
> > 
> > Is this a bug or am I missing something? Any ideas?
> > 
> > I am using 1.5 beta1 cactus build.
> > 
> > Thanks,
> > 
> > Denis
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 

Mime
View raw message